Page 1 of 1

[2.1 pre-236] SetGlobalFogParameter broken

Posted: Wed Nov 26, 2014 1:49
by The Ultimate DooMer
So I was testing out Serpent in a 2.1 pre-release to see what happened, and discovered that SetGlobalFogParameter is partially broken - the FOGP_DENSITY portion still works, but the FOGP_SKYFOG portion does not. The pre-set values in MAPINFO are still fine, so it's just the in-game parameter changer.

(best way to see it is load up map 02 of Serpent and puke script 19, the sky won't grow foggy anymore but the rest will)

Re: [2.1 pre-236] SetGlobalFogParameter broken

Posted: Thu Nov 27, 2014 11:32
by Graf Zahl
That's a weird one. skyfog actually works - but not inside a skybox. When you noclip, leave the ship and go to the harbour part of the map all looks as it should.

Re: [2.1 pre-236] SetGlobalFogParameter broken

Posted: Thu Nov 27, 2014 12:27
by Graf Zahl
Fixed. This was a tricky one because the setting for depth clamping was not tracked properly and caused it to be in the wrong state when the sky was processed.