Add partial transparency to node hierarchy

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Addramer

Hello guys!

Do you know if it is possible to partially apply transparency to a part of the screen?
I have a hierarchy of nodes like this and I would like to apply a shader to the World node, to make it (and every children) becoming transparent in a decreasing circle animation.

This is my current game hierarchy and this is what I would like it to look like mid-animation (the world is only visible on some part of the screen wile you can still see the VideoBG in the background). Is there any way to do this?
If you can do that without shaders I’m also interested, although I would like to apply some sort of fade out from the edge of the circle as it is decreasing.

Edit: I’ve tried to put everything under a viewport node and render it to a texture, I feel I’m in the right direction but I can’t seem to render the viewport correctly (it’s not moving with the camera)


I’m not sure I understand exactly the effect you’re going for, but you might be able to achieve it with a light mask or some sort of material shenanigans?

markopolo | 2018-04-08 20:00