I’m not sure exactly how to set up passes where certain objects act as masks so that it’s possible just to render specific objects but when they pass behind the other object they’d get invisible (and that area would be transparent).
So far i’ve always done some stupid work-around, which is I colored the masking object either constant black or white and then did a key in post but that’s just kind of not really professional.
What’s the best way to do that?

