Source

gltut / Tut 17 Spotlight on Textures / data / litTexture.frag

Diff from to

File Tut 17 Spotlight on Textures/data/litTexture.frag

 {
 	vec4 diffuseColor = texture(diffuseColorTex, colorCoord);
 
-	PerLight currLight;
-	currLight.cameraSpaceLightPos = normalize(vec4(0.0, 0.5, 0.5, 0.0));
-	currLight.lightIntensity = vec4(2.0, 2.0, 2.5, 1.0);
-	
 	vec4 accumLighting = diffuseColor * Lgt.ambientIntensity;
 	for(int light = 0; light < numberOfLights; light++)
 	{