Page 1 of 1

Upper, mid and lower brightness value

Posted: Wed Jan 26, 2022 12:27 pm
by Enjay
I had a feeling that I'd asked about this before but I can't find the post. If it is a repeat, please forgive my faulty memory.

Would it be possible to extend the sidedef brightness feature so that the value could be set independently on all three areas of a line?

At present, sidedef brightness affects the whole side. Therefore if you have, say, a step with LIGHT3 on its face, but a regular texture on the uppser surface of the same line and want to set LIGHT3 to have a higher brightness than ambient for that sector, the upper would also be bright:



Of course, there are many more situations where this would be useful and there are editing ways around many of them but I feel this would be useful.

So, possible? Is it within UDMF specs?

Re: Upper, mid and lower brightness value

Posted: Wed Jan 26, 2022 12:31 pm
by Caligari87
I believe this open pull request adds the feature you're asking for?

https://github.com/coelckers/gzdoom/pull/1321

I think Rachael is trying to go through and get some of these merged lately, so fingers crossed this one makes the cut.

8-)

Re: Upper, mid and lower brightness value

Posted: Wed Jan 26, 2022 12:35 pm
by Enjay
That does indeed look like it is for adding the feature. Thanks for linking to it.

Re: Upper, mid and lower brightness value

Posted: Wed Jan 26, 2022 3:52 pm
by axredneck
You can make lights as separate linedefs.

Re: Upper, mid and lower brightness value

Posted: Wed Jan 26, 2022 4:01 pm
by Enjay
Indeed you can.

I did say that there are many situations where this feature might be useful though (not just something like I pictured) and that there are also editing ways around most situations. However, these editing effects often mean a bit of compromise or slightly clumsy handling of narrow lines/thin sectors/architecture not lining up quite how you want etc etc so the feature would be useful, and often better than many of the mapping workarounds.

Re: Upper, mid and lower brightness value

Posted: Thu Jan 27, 2022 1:40 am
by Caligari87

Re: Upper, mid and lower brightness value

Posted: Thu Jan 27, 2022 12:55 pm
by Enjay
Excellent news. Thanks to those involved in writing it and including it. :D