Skip to content

Commit

Permalink
Fix #5219
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed May 2, 2016
1 parent 8cae94d commit 0f49c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cont/base/springcontent/shaders/GLSL/ModelFragProg.glsl
Expand Up @@ -52,7 +52,7 @@ float GetShadowCoeff(vec4 shadowCoors)
}

vec3 DynamicLighting(vec3 normal, vec3 diffuse, vec3 specular) {
vec3 rgb;
vec3 rgb = vec3(0.0);

for (int i = 0; i < MAX_DYNAMIC_MODEL_LIGHTS; i++) {
vec3 lightVec = gl_LightSource[BASE_DYNAMIC_MODEL_LIGHT + i].position.xyz - vertexWorldPos.xyz;
Expand Down

0 comments on commit 0f49c4a

Please sign in to comment.