Page 1 of 1

UDMF - Allow Multiple Brightness Levels on a Sidedef

PostPosted: Mon Aug 08, 2016 9:54 pm
by Dr. Van Nostrand
It'd be great to have the ability to set the brightness levels independently for the lower, mid & upper textures on a sidedef. It'd allow for fake shadow casting like this among other uses:

http://infosuite.duke4.net/index.php?page=ae_walls_b4

Re: UDMF - Allow Multiple Brightness Levels on a Sidedef

PostPosted: Tue Aug 09, 2016 8:57 am
by Caligari87
While I agree an easier way would be nice, this can already be achieved with ExtraFloor_LightOnly.

8-)

Re: UDMF - Allow Multiple Brightness Levels on a Sidedef

PostPosted: Tue Aug 09, 2016 7:48 pm
by Dr. Van Nostrand
Thanks, I didn't know about that!

I think I'll leave the feature request open though if that's ok... This seems like something that might be doable in the UDMF format that would be a lot easier. No hard feelings though if this isn't a priority.

Re: UDMF - Allow Multiple Brightness Levels on a Sidedef

PostPosted: Tue Aug 09, 2016 9:17 pm
by NeuralStunner
Caligari87 wrote:ExtraFloor_LightOnly
This lights the entire destination sector, rather than One thing to keep in mind:
Note that this is implemented as a Sector_Set3DFloor with invisible textures, so sector effects such as damaging specials are also transferred.
So this will have any other limitations/oddities associated with 3D floors.

Upper/Middle/Lower lighting would be simpler to set up and less weirdness-prone.

Re: UDMF - Allow Multiple Brightness Levels on a Sidedef

PostPosted: Sun Aug 28, 2016 2:56 am
by Graf Zahl
Tell that to the one who wrote the software renderer. :(
I once tried but the only thing where I succeeded was the texture offsets. This code is hopelessly littered with global variables which change in non-intuitive ways.