# Occlusion in Augmented reality for portal

**URL:** <https://forums.unrealengine.com/t/occlusion-in-augmented-reality-for-portal/132302>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [October 17, 2019, 11:16pm UTC](https://forums.unrealengine.com/t/occlusion-in-augmented-reality-for-portal/132302 "2019-10-17T23:16:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielaggie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@danielaggie](https://forums.unrealengine.com/u/danielaggie)\
**Post date:** [October 17, 2019, 11:16pm UTC](https://forums.unrealengine.com/t/occlusion-in-augmented-reality-for-portal/132302/1 "2019-10-17T23:16:35Z")

</div>

Hello, I am using AR template from unreal engine to place a 3D model on the floor. My question is, how will I achieve the effect they do in the video below where everything is hidden except the entrance to the portal and then you can see all your 3d model once you are inside.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/7/be721ccd432d6c4f599f0c107332dbf9788c1ff3.jpeg "Augmented Reality Portal - ARKIT") ](https://www.youtube.com/watch?v=371ZQW_Yzck)

I tried using this tutorial but not sure if its the right direction?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/3/1635caf766bd82c751c535ec09ce749c2d447f6c.jpeg "UE4 Tutorial: Occlusion Masking") ](https://www.youtube.com/watch?v=O6W7pLF2GwU)

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [June 8, 2021, 2:49am UTC](https://forums.unrealengine.com/t/occlusion-in-augmented-reality-for-portal/132302/2 "2021-06-08T02:49:26Z")

</div>

Hey, bro, are you finally finish this function?
