Rendering an object only through a portal

I’m trying to make a similar thing like we have in “Hellblade” game.

How to render (or hide rendering) some object only through a portal?

326132-screenshot-16.png

Okay I solved it, looks easy :slight_smile:

Apply this material to the object you want to be visible through a portal (or remove “1-x” for reversed case).
Portal is just a mesh (plane) with default material and disabled “rendering in main/depth pass” + enabled “render customDepth”

326199-screenshot-17.png

One more way with opacity mask usage - Unreal Engine 4 Tutorial: Antichamber 4D Art Gallery(Impossible Objects) - YouTube