microsoft / microsoft/DirectX-Graphics-Samples

[MiniEngine] No light in glTF mode

Open
#749 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

miniengine
Dominant language
C++
Stars
6.8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Hi

My DirectX knowledge is still low and all these samples are an amazing resource.
I specifically enjoy the MiniEngine and like to play around with it.

There is still one thing I can't grasp:
In Legacy mode, the MiniEngine loads a h3d version of the Sponza scene, and everything works well out of the box.

However, if I disable the Legacy mode, the glTF version is loaded (or any glTF file I want), but no light is applied.
The sun intensity / orientation / etc. settings have no effect, nor the lights I create through code.

Am I missing something or is there a bug here?

MacGeorges

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the MiniEngine's Legacy h3d path with its glTF mode, beginning at the scene-loading and lighting entry points. Reproduce the issue with Sponza or another glTF file and verify whether sun settings and code-created lights affect the scene; done means lighting works or the missing behavior is isolated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.