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.
Material Properties<br />
• Define the surface properties of a primitive<br />
glMaterialfv( face, property, value );<br />
GL_DIFFUSE<br />
GL_SPECULAR<br />
GL_AMBIENT<br />
GL_EMISSION<br />
GL_SHININESS<br />
Base color<br />
Highlight Color<br />
Low-light Color<br />
Glow Color<br />
Surface Smoothness<br />
– separate materials for front and back