Export (0) Print
Expand All

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.

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft