The light isn't where I want it to be.

BlitzMax Forums/BlitzMax OpenGL Programming/The light isn't where I want it to be.

You don't need to use glTranslate, glScale, glRotate etc for lights.. that's what glLightfv(lnum, GL_POSITION, Position) is for (Rotation is handled for spot lights only via cone angles).

You need to reposition your lights every frame, and you don't need to push or pop the matrix.

Regards,
Chris