MAPINFO AttenuateLights option

Moderator: GZDoom Developers

Post Reply
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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: 49066
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: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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: 49066
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: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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: 49066
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.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”