OpenGL screencast 13 - Lighting and Material Part 2 - Materials
published onIn this screencast (OpenGL video tutorial), I discuss materials and explain the difference between using glColorMaterial and glMaterial.
OpenGL commands used in this screencast:
glDisable(), glEnable(), glColorMaterial(), glMaterial()
OpenGL parameters used in this screencast:
GL_COLOR_MATERIAL, GL_FRONT, GL_FRONT_AND_BACK, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_SHININESS, GL_EMISSION, GL_AMBIENT_AND_DIFFUSE
The code is available to download on Github
Download the screencast, 20.9 MB .mov
Watch the Screencast
Code
Questions? E-mail me: this domain AT gmail DOT com