Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
logix1390

Exclude object from Z depth pass

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  
Followers 0