Page 1 of 1
if (Depth Fog = Off) --> No Fog at all
Posted: Wed Mar 01, 2006 18:14
by Tormentor667
Yeah, I'm your programming god...

Okay, the problem with the latest GzDoom (and all GZDooms before) is, that, if you disable "Depth Fog" in the OpenGL settings, you get no fog at all. This means, "white fog" (a fade of 255,255,255) totally disappears, just try it with TNT3 Map01
Posted: Wed Mar 01, 2006 18:55
by Graf Zahl
That's fully intentional. The option is there for graphics cards that have problems displaying fog. Logically on those white fog has the same issues as black fog.
Posted: Wed Mar 01, 2006 19:31
by TheDarkArchon
BTW, Torm it's "==" in this case since you want a boolean result

Posted: Fri Mar 03, 2006 12:46
by Tormentor667
Graf Zahl wrote:That's fully intentional. The option is there for graphics cards that have problems displaying fog. Logically on those white fog has the same issues as black fog.
So switching off Depth Fog actually means switching off Fog at all? Well what about a Toggleswitch there? To set "Depth Fog", "Standard Doom Fog" (afaik, both act different) and "No Fog"? In some areas, the standard software Doom Fog looks by far better than this special Depth Fog/Fad, this is why I'd like to have it in there also in OpenGL
Posted: Fri Mar 03, 2006 12:50
by Graf Zahl
For standard Doom fog I need shader support. I intend to add that but it requires some changes to the way the code works now.
Posted: Fri Mar 03, 2006 15:03
by Tormentor667
Okay, it's good enough to hear that this is going to be added

Posted: Fri Mar 03, 2006 15:42
by Graf Zahl
Don't expect it too soon. There's a lot of things to sort out first.