summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-03 10:22:43 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-03 10:22:43 -0700
commit9d73d103bc137a9de5ccf550b9ceaf61c419179a (patch)
tree2fc603dcb52df70e1b9d0ad9283e0c6e8e73b1a0 /indra/newview/app_settings/shaders/class1
parentbb214c30c3c35881d250ae3e299fd095ded5197c (diff)
SL-11238, SL-11337
Tweak application of ambient in deferred soften light for class1/2
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
index 5b03fbaa50..13e0cb5169 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
@@ -111,7 +111,7 @@ void main()
vec3 sun_contrib = final_da * sunlit;
#if !defined(AMBIENT_KILL)
- color.rgb = amblit * 0.5;
+ color.rgb = pow(amblit, vec3(1.0/1.3));
color.rgb *= ambient;
#endif