Browse Source

Merge pull request #327 from sgrenier/master

Fixes textured-bumped vertex shader.
Steve Grenier 13 years ago
parent
commit
a677b7589c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/res/shaders/textured-bumped.vert

+ 1 - 1
gameplay/res/shaders/textured-bumped.vert

@@ -56,7 +56,7 @@ varying float v_spotLightAttenuation;						// Attenuation of spot light
 varying vec3 v_spotLightDirection;							// Direction of spot light in tangent space
 #include "lib/lighting-spot.vert"
 #else
-uniform vec3 v_lightDirection;								// Direction of light
+varying vec3 v_lightDirection;								// Direction of light
 #include "lib/lighting-directional.vert"
 #endif