[no] ability to turn off depth fog only

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

[no] ability to turn off depth fog only

Post by Nuxius »

Currently in GZDoom, when you disable the depth fog, you disable all fog; I would like to have an option that just disables the black depth fog that appears normally throughout levels, but not any fog that the level designer sets.
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Post by ellmo »

To my knowledge, the intensity of the GL Fog can be set in MAPINFO by:
FOGDENSITY x
where x varies 0 (that's no fog I think) - 255 (Dunno, pitch black?).
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

But that''s for all fog.

@Nuxius: Why?
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

Because it mucks up too much stuff, especially for brighter sectors, and where other types of fog are involved.

Say, if a sector is 240 and the sector next to it is 224, up close they look like they should, with very little differences between them. But the further away you go, the larger the contrast is between them, until the 224 sector looks almost pitch black, with the 240 sector still being bright.

An example of it messing with other fog is TNT3, the large pit area with the brownish fog, the cages on the other sides of the pit come out as black voids, which IMO ruins the effect.

Unfortunately, your depth fog is just way to different from actual Doom depth fog, to the point of where I would rather not have it at all.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

If I could limit the maximum density the fog can have I'd do it. But the formulas involved are far too primitive.

The TNT3 effect is because these cages also contain fog (much darker though.) I could draw a boundary there as well but it would cause far more problems in other maps if I did.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I already did some adjustments to create an effect that is closer to the software renderer so hopefully you don't need that option at all.

But you were right. For some of the brighter light levels it got far too dark and for the darker light levels it stayed too bright in the distance.
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Post by ellmo »

But you will leave the option to use the Fog as it is now? I tremble in fear before the idea of rebuilding my netire map...
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Of course. I have added a second lighting model that is much closer to Doom's software renderer. On some maps the difference is quite striking and with the new model it looks much better now. But I will make this an option in the menu so that the current model is still available.
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

The TNT3 effect is because these cages also contain fog (much darker though.)
Yeah, you're right, I should've looked a bit more into that before saying anything. So that problem popping up in one of my maps is out of the way. :D

Anyway, just downloaded 0.9.12 the other day, and I have to say, great job. This looks a thousand times better than the old fog. :thumb: I'm actually using the "Bright" option, because the "Doom" one is just a bit too dark for me (like software mode is). I figure it's better than having to up the gamma, which is something I'd rather avoid.
Locked

Return to “Closed Bugs”