Quellcode durchsuchen

Merge pull request #327 from sgrenier/master

Fixes textured-bumped vertex shader.
Steve Grenier vor 13 Jahren
Ursprung
Commit
a677b7589c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 varying vec3 v_spotLightDirection;							// Direction of spot light in tangent space
 #include "lib/lighting-spot.vert"
 #include "lib/lighting-spot.vert"
 #else
 #else
-uniform vec3 v_lightDirection;								// Direction of light
+varying vec3 v_lightDirection;								// Direction of light
 #include "lib/lighting-directional.vert"
 #include "lib/lighting-directional.vert"
 #endif
 #endif