[Added] MAPINFO AttenuateLights option

Moderator: GZDoom Developers

MAPINFO AttenuateLights option

Postby Major Cooke » Thu Mar 31, 2022 7:03 pm

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
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: MAPINFO AttenuateLights option

Postby Graf Zahl » Thu Mar 31, 2022 11:50 pm

Such a flag already exists, but it looks like it never got exposed to MAPINFO. Hm....
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: MAPINFO AttenuateLights option

Postby Major Cooke » Fri Apr 01, 2022 1:36 pm

Ah cool. Well in that case if it's exposed to mapinfo, that's all I'll need. :mrgreen:
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: MAPINFO AttenuateLights option

Postby Major Cooke » Tue Apr 19, 2022 10:54 pm

Should this be considered a bug since apparently it wasn't exposed?
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: MAPINFO AttenuateLights option

Postby Graf Zahl » Fri Apr 29, 2022 1:03 am

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: MAPINFO AttenuateLights option

Postby Major Cooke » Fri May 06, 2022 12:22 am

You mean "attenuate 0" in GLDefs? Fair enough.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: MAPINFO AttenuateLights option

Postby Graf Zahl » Fri May 06, 2022 12:25 am

Of course. If some light explicitly says it wants to be unattenuated, a forced override may produce more problems than it solves.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests