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

meow-7.2.2
Ptolemy 2022-07-05 08:22:58 -07:00
parent 49c923bf3c
commit e2879eaf99
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ void main()
#endif
#if DEBUG_PBR_BRDF_UV
color.rgb = vec3(brdfPoint,0.0);
color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_BRDF_SCALE_BIAS
color.rgb = vec3(vScaleBias,0.0);