Render only depth

Hello!

Thanks, but unfortunately custom depth doesn’t really help on what I would want to do, because its not a post process.

I would want to cull some translucent material parts, by putting an “invisible” object on top of it, that renders only depth, like in this video: