summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-05 08:22:58 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-07-05 08:22:58 -0700
commite2879eaf99cf4ce46bddebe1fc6b38b72f000bad (patch)
treeefdd1e13515170e3610b8d8419dd9e242f529071 /indra/newview/app_settings/shaders
parent49c923bf3ce941b62110a537709b9bf5a368be7a (diff)
SL-17682: PBR: Fix debug BRDF uv output to match glTF Sample Viewer
Diffstat (limited to 'indra/newview/app_settings/shaders')
-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 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);