Просмотр исходного кода

Merge pull request #325 from sgrenier/next

Fixed textured-bumped vertex shader.
Steve Grenier 13 лет назад
Родитель
Сommit
eeb193703d
1 измененных файлов с 1 добавлено и 1 удалено
  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