diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-31 13:47:44 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-31 13:47:44 -0700 |
commit | 58f7b981bdb415311f23dfffc39e7a841b3017a0 (patch) | |
tree | c2ab03473650063efdc37deb0701a58035ff7ff9 /indra/newview/app_settings/shaders/class2/deferred | |
parent | 485c5978e7559471f4dad66fb141408262d75363 (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.glsl | 2 |
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 |