[MAPINFO] - FadeIntensity

Moderator: GZDoom Developers

Post Reply
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

[MAPINFO] - FadeIntensity

Post by ace »

This could really come in handy for maps in which the creator does not to be overly foggy. For example, perhaps making a beach on a cloudy day and it seems a bit misty or hazy in the distance, rather than dense fog. Or perhaps to the contrary, very dense fog. This would allow great flexibility for a map's fade/outsidefog. Would this be possible?
User avatar
Nmn
Posts: 4631
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

*cough*
You can already do that.

The intensity of the fog is affected by sector's brightness. The darker the sector-the more intensive the fog is
<_<
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

It would still be a good idea to force a uniform density on some maps. For examlple in Herian there are some maps with fog but the mapper used light levels as if it were a normal unfogged level. The result does not look good at all.

But for new maps it shouldn't be necessary.
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

The problem is, if it's darker then sure the fog gets denser, but then it also gets, well... darker. I mean, it would be nice to have a room with a light of 176-192 and have fog that is really dense, or a room with 96-112 light but very low fog level.

I think it could really come in handy.
User avatar
Nmn
Posts: 4631
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

I'm not sure if that's possible, seing how Doom handles fog with colormaps. I meant, You can't have low fog in a dark room unless You set it to be darker..
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

Well what I'm suggesting isn't really that you control how bright/dark the fog is, but rather how dense it is. Although I'm not surprised if that couldn't be done either... :?
User avatar
Nmn
Posts: 4631
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

Well in this case.. the only control over the denseness is actually the sector's brightness ;) Mapinfo would have to modify the overal lighting of the level..

It's simple-in Doom the colormap lump uses the pallette and assigns different indexes to colors in different light levels, so in red in 255 is red, in 128 is dark red and so on.

Fade and fog work exactly the same, except they don't darken colors, but affect them like in fog-brighten, desaturate, whatever ;) still using only the 255 colors from the playpal lump (because more than 256 colors cannot be displayed on the screen in 8-bit mode, but I think You know that).
User avatar
Da_maniaC
Posts: 106
Joined: Sun Sep 05, 2004 3:56 pm
Location: The Netherlands

Post by Da_maniaC »

I dont want to sound dissaproving but whats wrong with ACS and a little Fade script?

It can control density, color and you can specifically choose where to apply it.

Sounds ideal to me. ;)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”