MAPINFO AttenuateLights option
Moderator: GZDoom Developers
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
MAPINFO AttenuateLights option
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.
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: MAPINFO AttenuateLights option
Such a flag already exists, but it looks like it never got exposed to MAPINFO. Hm....
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: MAPINFO AttenuateLights option
Ah cool. Well in that case if it's exposed to mapinfo, that's all I'll need. 
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: MAPINFO AttenuateLights option
Should this be considered a bug since apparently it wasn't exposed?
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: MAPINFO AttenuateLights option
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.
Please note that this does not override explicit settings in light definitions. If you set a light to be unattenuated, it will remain so.
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: MAPINFO AttenuateLights option
You mean "attenuate 0" in GLDefs? Fair enough.
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: MAPINFO AttenuateLights option
Of course. If some light explicitly says it wants to be unattenuated, a forced override may produce more problems than it solves.