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

meow-7.2.2
Ptolemy 2022-07-05 20:03:54 -07:00
parent e5ef64b74a
commit bcd630cad9
1 changed files with 1 additions and 0 deletions

View File

@ -332,6 +332,7 @@ void main()
#endif
#if DEBUG_PBR_ROUGH_PERCEPTUAL
color.rgb = vec3(perceptualRough);
color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_ROUGH_ALPHA
color.rgb = vec3(alphaRough);