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

meow-7.2.2
Ptolemy 2022-07-05 08:23:17 -07:00
parent e2879eaf99
commit 36a7a424a9
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ void main()
#endif
#if DEBUG_PBR_FRESNEL
color.rgb = fresnelR;
color.rgb = srgb_to_linear(color.rgb);
#endif
#if DEBUG_PBR_IOR
color.rgb = vec3(IOR);