Setting Lighting and Coloring

In addition to specifying colors and normal vectors, you can define the desired lighting conditions with glLight* and glLightModel*, and the desired material properties with glMaterial*. Related functions for controlling how lighting calculations are performed include glShadeModel, glFrontFace, and glColorMaterial.