Page 1 of 1

UDMF - Allow Multiple Brightness Levels on a Sidedef

Posted: Mon Aug 08, 2016 8: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

Posted: Tue Aug 09, 2016 7:57 am
by Caligari87
While I agree an easier way would be nice, this can already be achieved with [wiki]ExtraFloor_LightOnly[/wiki].

8-)

Re: UDMF - Allow Multiple Brightness Levels on a Sidedef

Posted: Tue Aug 09, 2016 6: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

Posted: Tue Aug 09, 2016 8:17 pm
by NeuralStunner
Caligari87 wrote:[wiki]ExtraFloor_LightOnly[/wiki]
This lights the entire destination sector, rather than One thing to keep in mind:
Note that this is implemented as a [wiki]Sector_Set3DFloor[/wiki] 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

Posted: Sun Aug 28, 2016 1: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.