Skip to content
Snippets Groups Projects
Commit 06367e6f authored by David Parks's avatar David Parks
Browse files

SH-2276 Clean up a shader warning.

parent 7b6723d1
No related branches found
No related tags found
No related merge requests found
...@@ -36,10 +36,8 @@ uniform vec3 light_diffuse[8]; ...@@ -36,10 +36,8 @@ uniform vec3 light_diffuse[8];
vec4 sumLightsSpecular(vec3 pos, vec3 norm, vec4 color, inout vec4 specularColor, vec4 baseCol) vec4 sumLightsSpecular(vec3 pos, vec3 norm, vec4 color, inout vec4 specularColor, vec4 baseCol)
{ {
vec4 col; vec4 col = vec4(0,0,0, color.a);
col.a = color.a;
vec3 view = normalize(pos); vec3 view = normalize(pos);
/// collect all the specular values from each calcXXXLightSpecular() function /// collect all the specular values from each calcXXXLightSpecular() function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment