If I draw a textured quad, with normals, and I have these states set:
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
The textures are always rendered full bright and lighting is not applied. It is important in this application that I use GL_REPLACE rather than setting glColor4f(1, 1, 1, 1). Why isn't the lighting being applied?