Is there a way to have an object (a model) that isn’t visible nor renderable, but it would block anything behind it except the sky box ?
For example, imagine a model of a cross. It’s not being rendered and thus it’s not visible on the final rendering, but if a character walks behind that cross, any part of the character that is occluded by the cross will not be visible. Instead you’d see skybox through it.
How to achieve that?