summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-31 13:47:44 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-31 13:47:44 -0700
commit58f7b981bdb415311f23dfffc39e7a841b3017a0 (patch)
treec2ab03473650063efdc37deb0701a58035ff7ff9 /indra/newview/app_settings/shaders/class2/deferred
parent485c5978e7559471f4dad66fb141408262d75363 (diff)
SL-11337
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally). Modify shaders to balance ambient across render modes again.
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 35018360ac..9492141b49 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
@@ -119,7 +119,7 @@ void main()
vec3 sun_contrib = min(scol, final_da) * sunlit;
#if !defined(AMBIENT_KILL)
- color.rgb = amblit;
+ color.rgb = amblit * 0.5;
color.rgb *= ambient;
#endif