diff options
author | Rider Linden <rider@lindenlab.com> | 2017-10-04 14:36:41 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2017-10-04 14:36:41 -0700 |
commit | e97c52bdd3cfdf12c3eb2e423b193979de816f34 (patch) | |
tree | 1cd2f823da4c127442736cec7bc7c3ab8dbdaeb0 /indra/newview/app_settings/shaders/class1 | |
parent | 23916be3dac32beebb17e0b9336b34176265783d (diff) |
Rename uniform "sunlight_color_copy" to sunlight_color in shader.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsHelpersV.glsl index 6ff860362c..89b6a52909 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_copy; +uniform vec4 sunlight_color; uniform vec4 light_ambient; vec3 atmosAmbient(vec3 light) @@ -33,12 +33,12 @@ vec3 atmosAmbient(vec3 light) vec3 atmosAffectDirectionalLight(float lightIntensity) { - return sunlight_color_copy.rgb * lightIntensity; + return sunlight_color.rgb * lightIntensity; } vec3 atmosGetDiffuseSunlightColor() { - return sunlight_color_copy.rgb; + return sunlight_color.rgb; } vec3 scaleDownLight(vec3 light) |