Log in or register to post comments

Model target and Zmasks

April 16, 2019 - 7:43pm #1

Hi,

 

I'm trying to make my virtual objects hide when they get behind the model target. The idea is to have the virtual object stationary as the user moves the camera around. The virtual object must disappear when its behind the real object.

I'm trying to do this with ZMask. Any ideas?

 

Thank you

Vitor

Model target and Zmasks

May 14, 2019 - 1:04pm #2

Just in case anyone else was wondering about this, in Unity there is a material included in the basic Vuforia assets called DepthMask.  Apply this material to your model target and it will become invisible, but will hide anything that is behind it.

Log in or register to post comments