summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-06 16:32:55 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-06 16:32:55 -0700
commit49eae58bd0d1eceda18a3997454beb15a5e27cbd (patch)
tree830541ce9a203b2ead0240a88d3c441c240c67ff /indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
parent158a0104c1d00e56b46fec31e650cd6942cac735 (diff)
SL-10969
More tweaking ambient light.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
index 343e5c8ef5..92794ddaae 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
@@ -119,8 +119,7 @@ void main()
vec3 sun_contrib = min(scol, final_da) * sunlit;
#if !defined(AMBIENT_KILL)
- color.rgb = amblit * 0.5;
- color.rgb = pow(color.rgb, vec3(1.0/1.1));
+ color.rgb = amblit * 2.0;
color.rgb *= ambient;
#endif