Log in or register to post comments

Occlusion does not work in Area Target

May 11, 2021 - 3:57pm #1

Is anyone able to get occlusion to work with Area Targets?

I scanned a room. Added some cubes inside the room and some outside the room. I can see the ones outside the room. I thought occlusion would block those if my area target had a surface there? Project Setup:

But when I am in AR, i can see the cube that should be behind the wall:

Let me know if you are able to get this work and how so.

My goal is to have different objects in different area targets. Right now they all show at once, even if it is "behind a wall".

Thanks!

AttachmentSize
Image icon Vuforia Unity Project.png2.77 MB
Image icon AR View of Cubes.PNG6.33 MB

Occlusion does not work in Area Target

May 21, 2021 - 8:53am #3

I sort of solved it....I had to setup Unity and Vuforia on another computer and like magic the occlusion worked! No clue as to what i did differently. 

Before I got it to work, I used the depth mask shader to create some occlusion with the walls and floor. that worked.

If I figure out what i did different on the new setup, I will post.

Occlusion does not work in Area Target

May 15, 2021 - 10:58pm #2

I am going through same problem here. Have u solved it?!

Log in or register to post comments