Topic locked

How to use the DepthMask to occolude objects render out side of a cube

April 5, 2014 - 5:24am #1

Hello eveyone,

 

i have a scene, and that scene is limited by a cube.

what i want to do it to be able o occulude objects that are rendered ouside of that cube, i have tryed to make it work with 4 planes, but this only works if the planes have their normal towards the camera.

How can i acheive this, being able to occulude all object that are not inside that cube by unsing he depth mask shader?

 

Best regards.

How to use the DepthMask to occolude objects render out side of

April 5, 2014 - 6:40am #3

Will do, many thanks 

How to use the DepthMask to occolude objects render out side of

April 5, 2014 - 6:01am #2

Sounds like a Unity + graphics related questions, nothing to do with Vuforia. I guess you could search this in other Forums, for exa,ple in the Unity 3D website.

 

Topic locked