Page 1 of 1

FogDensity causes player weapon fullbright

Posted: Wed Dec 31, 2014 22:07
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)

Re: FogDensity causes player weapon fullbright

Posted: Wed Dec 31, 2014 23:03
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.)

Re: FogDensity causes player weapon fullbright

Posted: Thu Jan 01, 2015 16:50
by Nash
I see. Thanks!