Log in or register to post comments

UI elements show up in augmentation

October 24, 2018 - 12:07am #1

hi,

 

I am working on an AR application. All good so far.

 

However I am seeing that some of the UI elements also show up in the augmentation whereas they are not part of the image target.

 

To keep things simple:

1. I have put all UI elements in UI layer.

2. I created an additional camera with these settings: Clear flags: "Depth only", Culling mask: UI.

So that this camera renders only the UI while the ARCamera renders the augmentation.

 

All works fine, its just that a few UI elements [Not all] appear in augmentation when I try to take the camera far away from the tracker.

Just to add, the UI elements which show up in the augmentation are also part of the UI layer.

 

Please help.

UI elements show up in augmentation

October 25, 2018 - 3:38am #3

Thanks dpizzle. That worked. I should have thought about that.:)

What still perplexes me is that only some of the UI elements showed up instead of all.

 

 

UI elements show up in augmentation

October 24, 2018 - 8:08am #2

Did you set culling (turn off ui layer) on the ARCamera as well?

Log in or register to post comments