diff options
author | Dave Parks <davep@lindenlab.com> | 2011-11-01 14:33:20 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-11-01 14:33:20 -0500 |
commit | b58229a64e2a5c8178f3ac05f944b6cfecc5466b (patch) | |
tree | d2a3f4b2b2b3299ca47a1871892cecb2cb205163 /indra/newview/app_settings | |
parent | 108cdf58c2def80cf6c88e35c85b6da1c3709b76 (diff) |
SH-1427 Fix for sunlight color getting clobbered for non-deferred atmospheric shaders.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl index 89b6a52909..4fe0ef9caf 100644 --- a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl +++ b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl @@ -23,7 +23,7 @@ * $/LicenseInfo$ */ -uniform vec4 sunlight_color; +uniform vec4 sunlight_color_copy; uniform vec4 light_ambient; vec3 atmosAmbient(vec3 light) @@ -33,7 +33,7 @@ vec3 atmosAmbient(vec3 light) vec3 atmosAffectDirectionalLight(float lightIntensity) { - return sunlight_color.rgb * lightIntensity; + return sunlight_color_copy.rgb * lightIntensity; } vec3 atmosGetDiffuseSunlightColor() |