Talk:GLSL Programming/GLUT/Multiple Lights

Maybe move calculation of attenuation and the diffuse and specular components to separate functions, so that the for loop becomes small? --Guus (discuss • contribs) 10:53, 15 September 2011 (UTC)