summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-05 20:03:29 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-07-05 20:03:29 -0700
commite5ef64b74aa4bdbb67bf2e1bf4cfce79cfb79b70 (patch)
tree8e1ef073e4aa0c6ecb4aa65083b44276e00b3ac5 /indra/newview/app_settings/shaders/class3
parent36a7a424a9008ff3b29aafc172969bc17bf1d024 (diff)
SL-17682: PBR: Fix occlusion debug output to match glTF Sample Viewer
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-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 643b9ea20b..ca0306b24a 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -325,6 +325,7 @@ void main()
#endif
#if DEBUG_PBR_OCCLUSION
color.rgb = vec3(packedORM.r);
+ color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_ORM
color.rgb = packedORM;