summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-03-06 17:20:46 -0800
committerPtolemy <ptolemy@lindenlab.com>2020-03-06 17:20:46 -0800
commitd32821ea5bf17c4de47b9ee03b43a20ae278dfe4 (patch)
treed335dbc6ff34f8b881c1ca55a47e485d8e79aded /indra/newview/app_settings/shaders/class2/deferred
parent3c5888e325fb4b450e6ed7f40d10c58cad348c1c (diff)
SL-12574 Fix EEP cubemap not matching non-EEP for both ALM on and off
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
index da78691861..15a3bc349a 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
@@ -169,7 +169,7 @@ vec3 post_diffuse = color.rgb;
vec3 env_vec = env_mat * refnormpersp;
vec3 reflected_color = textureCube(environmentMap, env_vec).rgb;
#if !defined(SUNLIGHT_KILL)
- color = mix(color.rgb, reflected_color, envIntensity);
+ color = mix(color.rgb, reflected_color, envIntensity*0.75); // MAGIC NUMBER SL-12574; ALM: On, Quality >= High
#endif
}