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.
Will do, many thanks