summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-05 08:23:17 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-07-05 08:23:17 -0700
commit36a7a424a9008ff3b29aafc172969bc17bf1d024 (patch)
tree78f3286929ec11363fa7f399d7e8cab108061a52 /indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
parente2879eaf99cf4ce46bddebe1fc6b38b72f000bad (diff)
SL-17682: PBR: Fix debug fresnel roughness output to match glTF Sample Viewer
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl')
-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 e787b5d41d..643b9ea20b 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -395,6 +395,7 @@ 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);