How to create a invisible material that masks meshes that are behind it

Add a scene capture actor attached to the main camera:

Create a render target texture the size of the screen:

image

Disable motion blur and dont use temporal anti aliasing

add some tag to the actors you want to be invisible like ‘ignore’

then add those tagged actors to your capture ignore list like this:

image

create a material (unlit) with the captured render canvas as color)

I think thats all…just in case this is the blueprint of the map

THIS HAS A LOT OF LIMITATIONS AND IS NOT CHEAP> I AM SURE THERE IS A BETTER APPROACH.

Cya

1 Like