Hello,
Thanks for such gr8 unity plugin for QCAR. I am successfully able to load Cube Game Object over my imagetarget when it comes in front of camera. Now I want to do one thing i.e. to show load Cube inside Mask. I mean to say I want to draw a 2d rect overlay in front of camera and show resultant Cube inside only that rectangle and rest of the screen around rect should be masked and should show camera view, I heard that is possible with depth masking. Can anybody tell me how to do that?
I hope question is clear.
Thanks
Ayaz Alavi
You should be able to adapt the same technique for the transparency effect by using the RenderOcclusionLayer shader and BoxSetUpShader.cs on the outer wall meshes. Take a look at how these are used on the BlenderCube in the sample. It's not a feature of the target type, it's just a technique for supporting transparency on meshes.