I have loaded an object, and when I draw the object, I set the color to green.. After drawing the object, I draw lines in red.
I have the following GLSL code for lighting: uniform vec3 lightDir; // Parallel light uniform float ambient;
I have a glutSolidTeapot (which has its surface normals generated automatically according to opengl.org) and a light source which is emitting diffuse light. The problem comes when I try to rotate the