KhronosGroup / KhronosGroup/glTF-Sample-Viewer
No specular from lights when roughness=0
Open
bug
needs discussion
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 264
- Avg merge
- 5h 49m
- Merged PRs (30d)
- 1
Description
There are no specular highlights when roughness = 0.0
The likely cause for this is that the NDF function needs to limit roughness to a small value.
Since glTF does not use solid angle for lights, most engines use a simplified model where the NDF will create specular lobe using roughness.
However, values of 0.0 roughness will not produce any specular at all.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.