Skip to content
Snippets Groups Projects
Commit bcd630ca authored by Ptolemy's avatar Ptolemy
Browse files

SL-17682: PBR: Fix roughness debug output to match glTF Sample Viewer

parent e5ef64b7
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -332,6 +332,7 @@ void main() ...@@ -332,6 +332,7 @@ void main()
#endif #endif
#if DEBUG_PBR_ROUGH_PERCEPTUAL #if DEBUG_PBR_ROUGH_PERCEPTUAL
color.rgb = vec3(perceptualRough); color.rgb = vec3(perceptualRough);
color.rgb = linear_to_srgb(color.rgb);
#endif #endif
#if DEBUG_PBR_ROUGH_ALPHA #if DEBUG_PBR_ROUGH_ALPHA
color.rgb = vec3(alphaRough); color.rgb = vec3(alphaRough);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment