Messed up fog (Hardware problem?)


When i use opengl the fog sometimes totally covers all objects and doesn’t even change other objects, just depending on the direction my camera is facing.

(EX: Rotation=0, no fog; Rotation=3.14, all is covered with fod)

I didn’t have this problem before on my GeForce 4 MMX, but it happens on the GeForce 4 TI and the Radeon 9800. All the good ones.

My computer has the Radeon 9800 with the latest drivers.

Any ideas would be usefull

I hope you dont put camera movements into the projection matrix

All i use to make the camera look at is:

glmatrixmode GL_MODELVIEW
glulookat (then coordinates)

i also use GL_EXP2 for the fog type