Source

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

Diff from to

Tut 17 Spotlight on Textures/data/cubeLight.frag

 		accumLighting += ComputeLighting(diffuseColor, Lgt.lights[light]);
 	}
 
-//	accumLighting = vec4(0.0f);
 	accumLighting += ComputeLighting(diffuseColor, currLight);
 
 	outputColor = accumLighting / Lgt.maxIntensity;
-	
-//	outputColor = currLight.lightIntensity;
 }