Question About Sector Lights

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Question About Sector Lights

Postby Enjay » Mon Jan 04, 2021 10:45 am

When placing one if the dynamic sector light objects in a map, one of the parameters is "intensity scale". What does that actually do?

I mean, I know that the bigger the value, the wider the diameter of the light - but I can't figure out what the multiplication factor is.

For example, if I place a sector light in a sector that has light value 128, the dynamic light does not seem to have a radius of 128, if I give it an intensity scale of 1, or 256 if I give it a scale of 2, and so on; which is just as well, because those would generally be too big anyway. So I assume that the multiplication factor is less than 1. Even at that, the factor is a bit crude. I have often wanted to make something where factor 1 was a bit too small but 2 was a bit too big but the parameter can only be an int.

So, anyway, what is the maths behind the intensity scale parameter?
User avatar
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
Joined: 15 Jul 2003
Location: Scotland

Return to Mapping

Who is online

Users browsing this forum: No registered users and 0 guests