Effects/light-spot false false front 2 RenderBin one one 0 depth-buffer 1 normal-buffer 2 diffuse-buffer 3 spec-emis-buffer Shaders/light-spot.vert Shaders/light-spot.frag Shaders/gbuffer-functions.frag attenuation 12 depth_tex sampler-2d 0 normal_tex sampler-2d 1 color_tex sampler-2d 2 spec_emis_tex sampler-2d 3 LightPosition float-vec4 position true LightDirection float-vec4 direction true Ambient float-vec4 ambient Diffuse float-vec4 diffuse Specular float-vec4 specular Attenuation float-vec3 attenuation Exponent float exponent Cutoff float cutoff CosCutoff float cosCutoff Near float near Far float far