Hiding image target?

1.3k Views Asked by At

How to hide image target while objects get detected in unity using VuforiaAPI

There is only one answer I found but didn't know how to implement it. "Take a look at our Occlusion Management sample. The effect that you're looking for requires a shader applied to a mesh that will create the illusion that the target surface is transparent. The OM sample uses a cube, but the same effect can be applied to a plane - try adding a plane to the OM scene and add the same shader and shader setup script that is used for the box mesh."

2

There are 2 best solutions below

2
Nain On

Make a new Material for your plane and to that material change the shader to Legacy Shaders/Transparent/Cutout/Diffuse . Now you can select the mainColor and change the aplha value in color picker window to 0. This will hide your image.

0
user6792934 On

by doing what u told, the effect of such would be like this and if I set alpha value 0 than no plane is visible but I want to hide my cylinder or image target So if any one see that it create illusion that I m holding nothing