summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-06 12:40:37 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-07-06 12:40:37 -0700
commit873f70cff74c316d081e86c7296cc70013db6d05 (patch)
treeb0ae9a3290df0fd138390883ef801c4d497e6c1a
parent69bc798e7d6ceddc1013ea5d7f62061960627fe2 (diff)
SL-17682: PBR: Remove incorret redundant sRGB/linear from debug fresnel roughness output
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
index 2bf2183f29..bba1dd3902 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -399,7 +399,6 @@ 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);