summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
index 8b9c8aff92..139a1c274e 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -322,6 +322,7 @@ void main()
#endif
#if DEBUG_PBR_METAL
color.rgb = vec3(metal);
+ color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_OCCLUSION
color.rgb = vec3(packedORM.r);