Jump to content

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

Link to comment
Share on other sites

  • 2 years later...
On 9/2/2016 at 12:18 AM, Guest tar said:

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

Hi, can you explain in more simple term how to achieve this ?

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...