diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-14 17:43:31 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-14 17:43:31 -0500 |
commit | 06367e6f453b50e768cca377c9829796ac00b771 (patch) | |
tree | de2ff1dd416595a46266a8c7cf9ee18a32e6e3f7 /indra | |
parent | 7b6723d1e0158d5dc326266a0332e87f634f9755 (diff) |
SH-2276 Clean up a shader warning.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/lighting/sumLightsSpecularV.glsl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/lighting/sumLightsSpecularV.glsl b/indra/newview/app_settings/shaders/class1/lighting/sumLightsSpecularV.glsl index dcd405716c..7059ff31ae 100644 --- a/indra/newview/app_settings/shaders/class1/lighting/sumLightsSpecularV.glsl +++ b/indra/newview/app_settings/shaders/class1/lighting/sumLightsSpecularV.glsl @@ -36,10 +36,8 @@ uniform vec3 light_diffuse[8]; vec4 sumLightsSpecular(vec3 pos, vec3 norm, vec4 color, inout vec4 specularColor, vec4 baseCol) { - vec4 col; - col.a = color.a; - - + vec4 col = vec4(0,0,0, color.a); + vec3 view = normalize(pos); /// collect all the specular values from each calcXXXLightSpecular() function |