OpenGL - Lighting and Material part 1: normals and lighting

In this screencast (OpenGL video tutorial), I discuss using lighting in OpenGL. I discuss setting up lighting, as well as how normals work. Additionally, I mention how to determine if a user is pressing a modifier such as shift.

OpenGL commands used in this screencast:
glDisable(), glEnable(), glColorMaterial(), glutGetModifiers(), glLightfv(), glNormal3f(),

See blog post at:
https://davidwparker.com/2011/10/10/opengl-screencast-12-lighting-and-material-part-1/

© programmingtil.com