Hello and thank you in advance for reading through my problem!
I am working on an educational app with vuforia, in which i want to show name tags of the different parts of the human skull next to a 3D printed one.
For this purpose, i created a Model target with the 3D Model of the skull. It works fine and gets tracked quite well. Then i placed the same 3D model in Unity over the model target and applied a Occluder material that uses Vuforias Depth mask shader, so the name tags behind the skull are not visible. I changed the "ZTest Always" in the shader, since i learned that this gets rid of the black pixel things.
Sttill, the result is not good:
It seems that the tags are only shining through when they sit inside the two walls of the skull, front and back one, as if the problem appears when the occluding mesh is overlapping? If you look at one of the top tags, where no other mesh is behind, the lines and the sphere get occluded how expected....
I also tried a custom depth mask shader i found on a forum, but the result is the same... I tried replacing the 3D Model in unity with a different one, thinking that it might be a problem with the mesh, but nothing changed..
Has anyone seen this before or has an idea what to do? thanks in advance! I hope it is understandable, if you need more info, i'm happy to answer quickly.
Hi,
Hi,
Could you please also change the Graphics API to only GLES2? and let me know if this solved your issue?
Thank you.
Vuforia Engine Support
@mcotora
@mcotora
Hi!