How can I disable the fog? I've binded a key to "glDisable(GL_FOG)" but that doesn't work.
I'm guessing there's more to it than one line of code, but I'm at a loss. Any help is appreciated.
how can the fog be disabled?
Moderator: Moderators
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
-
- Spring Developer
- Posts: 374
- Joined: 14 Mar 2005, 12:32
It the actual (openGL) fog I'm talking about, not the fog of war.
I'm guessing it gets disabled and re-enabled every frame (that's why a single "glDisable(GL_FOG)" woudln't work), but I can't find the lines of code responsible for drawing it.
Are they in game.cpp, basicsky.cpp or advsky.cpp? Somebody *please* tell me ....
I'm guessing it gets disabled and re-enabled every frame (that's why a single "glDisable(GL_FOG)" woudln't work), but I can't find the lines of code responsible for drawing it.
Are they in game.cpp, basicsky.cpp or advsky.cpp? Somebody *please* tell me ....