How to implement Such Visuals

Hello Everyone,
I am currently working on a game where I want to make Level which happens to be in a Room . I have played Monument valley which is also made in Unity (Awesome game by USTO). I want to change the contents of the room the way it is Implemented in Monument Valley Forgotten shores Level 7 . Can any one hlep How can we achiev the effect in Unity … where a cube is divided diagonally and each half has its own depth. Completely same as in the Video Below…

I bought this DLC last week and while on this stage I was like Wow.
I hope to know how they did it too. After some Google search. I found this:

From this video. I guess they are just cleverly on/off each groups depend on rotation.

Thank you Akira for you time and help. yes, you was right about the On/Off thing. but the effect which is shown in the screenshot I have attached, shows a phase where both the Groups are seen in the respective halves . What was used there… Some kind of shader or something?

I just found this on the web, maybe this is the answer:
http://gamedev.stackexchange.com/questions/109810/masking-with-3d-object-in-unity
So basically 2 cameras which render on different layers with planes which mask some objects.

1 Like

Check this talk at 11 minutes: