An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Light Properties<br />
glLightfv( light, property, value );<br />
– light specifies which light<br />
• multiple lights, starting with GL_LIGHT0<br />
glGetIntegerv( GL_MAX_LIGHTS, &n );<br />
– properties<br />
• colors<br />
• position and type<br />
• attenuation