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.