MAPINFO AttenuateLights option

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8058
Joined: Sun Jan 28, 2007 3:55 pm

MAPINFO AttenuateLights option

Post by Major Cooke »

I have a level that makes use of a lot of normal maps, but some mods might not be using attenuated lights - probably on purpose. But it would be nice if there's the ability to to make all lights attenuated for the map. in particular. That way, normal maps can be put to good use all around.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: MAPINFO AttenuateLights option

Post by Graf Zahl »

Such a flag already exists, but it looks like it never got exposed to MAPINFO. Hm....
User avatar
Major Cooke
Posts: 8058
Joined: Sun Jan 28, 2007 3:55 pm

Re: MAPINFO AttenuateLights option

Post by Major Cooke »

Ah cool. Well in that case if it's exposed to mapinfo, that's all I'll need. :mrgreen:
User avatar
Major Cooke
Posts: 8058
Joined: Sun Jan 28, 2007 3:55 pm

Re: MAPINFO AttenuateLights option

Post by Major Cooke »

Should this be considered a bug since apparently it wasn't exposed?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: MAPINFO AttenuateLights option

Post by Graf Zahl »

Added.
Please note that this does not override explicit settings in light definitions. If you set a light to be unattenuated, it will remain so.
User avatar
Major Cooke
Posts: 8058
Joined: Sun Jan 28, 2007 3:55 pm

Re: MAPINFO AttenuateLights option

Post by Major Cooke »

You mean "attenuate 0" in GLDefs? Fair enough.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: MAPINFO AttenuateLights option

Post by Graf Zahl »

Of course. If some light explicitly says it wants to be unattenuated, a forced override may produce more problems than it solves.

Return to “Closed Feature Suggestions”