Hi,
I have experienced some strange problems with fog;
I enable it in a standard way, and all is OK when I set camera with
gluLookAt(0,dist,dist, 0,5,0, 0,1,0);
But when I change it to
gluLookAt(dist,dist,0, 0,5,0, 0,1,0);
fog is perpendicular to my camera!
It’s very well seen if you set fog color to black - you
get a black window with only a line with a background color across the middle of the window;
How to make fog respect gluLookAt?
Maybe it’s worth mentioning - I set fog parameters (range , color, etc) only once - at enabling.
.