microsoft / microsoft/DirectX-Graphics-Samples
[MiniEngine] No light in glTF mode
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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