if (Depth Fog = Off) --> No Fog at all

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

if (Depth Fog = Off) --> No Fog at all

Post by Tormentor667 »

Yeah, I'm your programming god... :P 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
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

BTW, Torm it's "==" in this case since you want a boolean result :P
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

Post 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
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

Post by Tormentor667 »

Okay, it's good enough to hear that this is going to be added ;)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Don't expect it too soon. There's a lot of things to sort out first.
Locked

Return to “Closed Bugs”