A Portal to Nature

AR

First, make the portal door.

Screen Shot 2020-04-24 at 11.02.23 AM.png

Modify objects' shaders to make them only seen inside of the portal door.

A Portal to Nature_Code_Screenshot2.png
Screen Shot 2020-04-24 at 10.58.09 AM.png

Allow users to go inside.

A Portal to Nature_Code_Screenshot1.png

Place the portal 0.5 meters above ground facing camera at where the user ‘s pose is.

Screen+Shot+2020-04-25+at+4.32.48+AM.jpg

I had a hard time with the skybox. It wasn’t rendered in AR Camera. So I tried several different methods, but none of them worked. Finally, I found Pirates Just AR’s tutorial and solved the problem.

(To solve this, I applied a render texture targeted by a second camera that renders the skybox to a Quad that is placed under AR Camera)

InUnity_cropped.gif
WithCLiff_noSkybox.gif
WithCLiff.gif
Previous
Previous

Understanding ARkit Human Segmentation

Next
Next

World Upside Down