Fog

Moderator: Graf Zahl

Locked
User avatar
RaVeN
Posts: 45
Joined: Fri Nov 06, 2009 12:21
Location: Ukraine
Contact:

Fog

Post by RaVeN »

There is possible to make switch?
fog affect sky [on, off] (default off)
if on -> fog draws over sky texture too sky fogged like simple surface
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Re: Fog

Post by NeuralStunner »

Fog is applied based on sector lighting, (in fact it just recolors the usual fade,) but skies are always drawn fullbright, regardless of the that lighting. What this would require is a global "light level" of sorts for the sky texture. Even then, I doubt it's that simple.
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Fog

Post by Gez »

I think Vavoom got such a feature recently. However, Vavoom's code is GPL so we can't take it* (plus I'm sure the internal workings of the renderer are so massively different that it would be pointless anyway).

[* I kinda have the feeling that the other way around doesn't bother JL too much, though.]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Fog

Post by Graf Zahl »

NeuralStunner wrote:Fog is applied based on sector lighting, (in fact it just recolors the usual fade,) but skies are always drawn fullbright, regardless of the that lighting. What this would require is a global "light level" of sorts for the sky texture. Even then, I doubt it's that simple.

There's a 'skyfog' MAPINFO option. That value can also set via action special SetGlobalFogParameter.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Re: Fog

Post by NeuralStunner »

Graf Zahl wrote:There's a 'skyfog' MAPINFO option. That value can also set via action special SetGlobalFogParameter.
Aha! I had forgotten. Thanks. :)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
Locked

Return to “Closed Feature Suggestions”