FogDensity causes player weapon fullbright

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

FogDensity causes player weapon fullbright

Post by Nash »

File download -> https://www.dropbox.com/s/heay66nf7e1yj ... d.pk3?dl=0

In this map, the player's weapon is drawn fullbright even though it shouldn't (if you remove FogDensity from the MAPINFO, it will be lit correctly)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: FogDensity causes player weapon fullbright

Post by Graf Zahl »

fixed.

And again this was related to something that was added by the software lighting mode submission I got a few years ago. I've lost count of the problems that created in various parts of the engine.
Fortunately, this time it was 'just' an uninitialized variable (when you set the fog density you created a GL options struct where the 'brightfog' setting was not initialized to false as it should have been.)
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Re: FogDensity causes player weapon fullbright

Post by Nash »

I see. Thanks!
Locked

Return to “Closed Bugs”