PDA

View Full Version : Fog + glLookAt() ??



03-23-2001, 05:15 PM
I have set up (linear) fog in my game, however, the fog will not rotate or move with the camera. I use glLookAt() for my camera, and I was wondering if that might be the problem. I have tried resetting GL_FOG_START and GL_FOG_END at various times in the rendering process but it made no difference.

03-23-2001, 06:57 PM
Never mind I fixed it. I had been putting gluLookAt in the projection matrix.