Преглед изворни кода

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

seanpaultaylor пре 12 година
родитељ
комит
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)
 #if defined(SPOT_LIGHT)
 uniform float u_spotLightInnerAngleCos;			// The bright spot [0.0 - 1.0]
 uniform float u_spotLightInnerAngleCos;			// The bright spot [0.0 - 1.0]
 uniform float u_spotLightOuterAngleCos;			// The soft outer part [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
 #endif
 #if defined(MODULATE_COLOR)
 #if defined(MODULATE_COLOR)
 uniform vec4 u_modulateColor;					// Modulation color
 uniform vec4 u_modulateColor;					// Modulation color