From e2879eaf99cf4ce46bddebe1fc6b38b72f000bad Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 5 Jul 2022 08:22:58 -0700 Subject: SL-17682: PBR: Fix debug BRDF uv output to match glTF Sample Viewer --- indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index e5f5901e18..e787b5d41d 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -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); -- cgit v1.2.3