ID:2903249
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Can you add, please, alternative opacity-blackness making possibilities?

At least, "infrared_opacity". For example I need to make a wall that blocks regular light and therefore stops regular objects behind it to render, BUT I want it to not block infrared objects. And so I can add "infrared_opacity = 0" to make this wall not block infrared objects behind it from rendering. So it'll show blackness and on top of it - infrared objects that are visible because this wall is not infrared_opacity.

To be fair, I just need a little more opacity and blackness control... *sigh*

It would be even better if you add something like render_target but for opacity exclusion. Like an opaque object can have a list or, at least, regular tag that forces all objects that have this tag to render behind normally opaque for them object.
So if you make, for example, a building wall to have a tag "building1" and a roof to have a tag "building1" - you will see a roof behind this wall, but if you put a normal full-opaque wall before partially-opaque object - "building1" wall and rendered by its tag roof - will be not rendered because full-opaque wall will force them to be not rendered.

Well, if think about it more, just an exclusion tag is not enough. Better to make inclusion tag also. Like a window that is not opaque for normal lighting but it is opaque for a tagged objects.
Maybe its too complicated now, so, just a regular infrared_opacity would be already so much great.