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

Merge branch 'next' of https://github.com/blackberry/GamePlay into next

seanpaultaylor 12 лет назад
Родитель
Сommit
da2fb445c1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      gameplay/res/shaders/colored.frag

+ 1 - 0
gameplay/res/shaders/colored.frag

@@ -14,6 +14,7 @@ uniform float u_specularExponent;				// Specular exponent
 #if defined(SPOT_LIGHT)
 uniform float u_spotLightInnerAngleCos;			// The bright spot [0.0 - 1.0]
 uniform float u_spotLightOuterAngleCos;			// The soft outer part [0.0 - 1.0]
+uniform vec3 u_spotLightDirection;              // Direction of a spot light source
 #endif
 #if defined(MODULATE_COLOR)
 uniform vec4 u_modulateColor;					// Modulation color