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)
FogDensity causes player weapon fullbright
Moderator: Graf Zahl
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: FogDensity causes player weapon fullbright
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.)
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.)
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Re: FogDensity causes player weapon fullbright
I see. Thanks!