KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.29k stars 238 forks source link

Include factors in main extension debug channels #542

Closed UX3D-haertl closed 7 months ago

UX3D-haertl commented 7 months ago

Fixes #507

Debug views of extensions with one factor property now display this factor correctly. For metallic roughness and specular other extensions on the same material can have an effect on their debug view. Separating this in the shader would be difficult. One could add a feature in the future to automatically disable all other material extensions if a debug view of an extension is selected. Currently this can be done manually via the UI.