Okay, I have another request for detection and emulation. I'm not sure if it'd be feasible, but it'd be extremely nice to have...
Spoiler:
Masked flats!
This trick works by aligning translucent midtextures into the floor (or ceiling), 1 unit away from the edges of the sector, and allowing them to bleed down (or up) into it. However, instead of using normal translucent lines, these have a tranmap applied to them which causes the midtextures to only be drawn when they're being mixed with a black pixel (i.e. the spaces between the grating).
I would have used a simpler example that doesn't combine this with the glass-floor trick, but off the top of my head I can't really think of any other way to show it off as a useful feature.
The tranmap looks like this:
Spoiler:
Everything except the very top row (which is used for when black is the color that the translucency is being drawn in front of) is 0% opaque, so the midtexture isn't visible in front of those pixels at all. The top row is 100% opaque.
In effect, the midtextures are masked by the "transparent" color in
front of them (or is it behind them? the illusion always messes me up), rather than by transparent pixels on the midtextures themselves.
The tranmap lump can be downloaded from here:
http://sl4.poned.com/screens/tranmap-fx ... ANMASK.lmp
I don't know if this is remotely feasible to emulate, but I figured it wouldn't hurt to ask.
Thanks!
Okay, I have another request for detection and emulation. I'm not sure if it'd be feasible, but it'd be extremely nice to have...
[spoiler][img]http://sl4.poned.com/screens/tranmap-fx/maskedflats2.png[/img]
[img]http://sl4.poned.com/screens/tranmap-fx/maskedflats.png[/img][/spoiler]
Masked flats!
This trick works by aligning translucent midtextures into the floor (or ceiling), 1 unit away from the edges of the sector, and allowing them to bleed down (or up) into it. However, instead of using normal translucent lines, these have a tranmap applied to them which causes the midtextures to only be drawn when they're being mixed with a black pixel (i.e. the spaces between the grating).
I would have used a simpler example that doesn't combine this with the glass-floor trick, but off the top of my head I can't really think of any other way to show it off as a useful feature.
The tranmap looks like this:
[spoiler][img]http://sl4.poned.com/screens/tranmap-fx/tranmaps/TRANMASK.png[/img][/spoiler]
Everything except the very top row (which is used for when black is the color that the translucency is being drawn in front of) is 0% opaque, so the midtexture isn't visible in front of those pixels at all. The top row is 100% opaque.
In effect, the midtextures are masked by the "transparent" color in [i]front[/i] of them (or is it behind them? the illusion always messes me up), rather than by transparent pixels on the midtextures themselves.
The tranmap lump can be downloaded from here: http://sl4.poned.com/screens/tranmap-fx/tranmaps/lumps/TRANMASK.lmp
I don't know if this is remotely feasible to emulate, but I figured it wouldn't hurt to ask.
Thanks!