Depth mask on objects without disabling AR video background rendering

0 votes
asked Oct 29 by fokslab (200 points)
Hi,

I wrote quickly a depth mask shader and when I apply it on some objects the AR video background applied on the camera is disappearing. Have you got some advises to fix this issue ? The shader is basically rendering the object only writing the Z values (without writing the color values using a 0 ColorMask ). Should I set a specific render queue value ?

Regards

1 Answer

0 votes
answered Oct 29 by fokslab (200 points)
that was it, chaging the render queue value fixed everything (I answered my own question :) ).

Maybe that will help someone !
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...