summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-03-19 15:02:13 -0700
committerGraham Linden <graham@lindenlab.com>2019-03-19 15:02:13 -0700
commit1a6f54cb5ede03f7e7d0b24f7eb45081adf0464e (patch)
treeef652dfca9c93b1cd2411afdecebadccf4f85d75 /indra/newview/app_settings/shaders/class3
parent30bdc6c7c5ea068d72c13f18ea550d86889892d4 (diff)
SL-10764
Fix lighting issues when using shaders, but not ALM. Shader code cleanup (remove do nothing functions only in one file). Fix obsolete comment to refer to correct storage for projector ambiance.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-rw-r--r--indra/newview/app_settings/shaders/class3/lighting/sumLightsV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/lighting/sumLightsV.glsl b/indra/newview/app_settings/shaders/class3/lighting/sumLightsV.glsl
index 9842d9ba93..5302b05043 100644
--- a/indra/newview/app_settings/shaders/class3/lighting/sumLightsV.glsl
+++ b/indra/newview/app_settings/shaders/class3/lighting/sumLightsV.glsl
@@ -32,7 +32,7 @@ vec3 atmosAffectDirectionalLight(float lightIntensity);
uniform vec4 light_position[8];
uniform vec3 light_direction[8];
-uniform vec3 light_attenuation[8];
+uniform vec4 light_attenuation[8];
uniform vec3 light_diffuse[8];
vec4 sumLights(vec3 pos, vec3 norm, vec4 color, vec4 baseLight)