Hi…
I’m using GL_FOG in an 3d terrain engine, but it seem only to work in the Z axis…
That is, I have the desired fog effect in the Z axis, but when the camera rotates to the X axis, the fog effect gradually decrement…, then when I turn the camera to the Z axis, it works again
what happens? Any idea to solve it?
Some cards do not do per-pixel fog and only interpolate through the fog applied at each vertex. Rotating through 90 degrees could be badly affecting how this works.