Jump to content
Sign in to follow this  
logix1390

Exclude object from Z depth pass

Recommended Posts

Hey everyone, 
I ran into an issue where I have a simple scene with a depth pass with a matte object. However, when I render the depth pass it also calculates the depth of the matte object as well. I don't want the matte object to be calculated in the depth pass. Is their anyway where I can exclude this object in the depth pass and keep the matte at the same time. I'm trying to get this all into one render and not have to separate my renders. 

I have attached my scene

Thanks!

exclude_object_from_zdepth.hip

Share this post


Link to post
Share on other sites

You can make bind a VEX variable to the Pz of a shader and just not have that variable on the matted object.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×