I have been trying to recreate a portal in AR. So basically like a window, or a door or simply a square that renders what is inside but nothing outside. Do you know anything about it? Can you point me to the right direction? I posted long time ago about it but I only received a vague answer which link is now broken.
I should create a 3D scenario and a camera rendering that scenario into a plane.
The 3D assets should be in a different layer so they cannot be seen in AR.
A second camera would follow the AR camera and render the layer (where the 3D scene is) into the texture.
The camera should have the same ratio as the plane so the texture will never look squeezed or shrunk.
The AR camera should only render the plane with its texture and evidently the real world.
Correct me if I am wrong in any of the steps above or if I missed something.
Will it give the illusion that there is an scenario behind that plane when moving the camera?
I guess this trick only works if you don’t step in. What if I want to step into the portal? and step out?