Jump to content

phantom in passes


Recommended Posts

Hi,

I was wondering if there is a way to make mantra render object as phantom in one image plane and have it as non phantom in another?

for example in the scene with a ball on the plane I would like to render an occlusion pass for a plane (while ball is a phantom). But on the other image plane I would like to have a normal pass with both of those objects as non phantom...

let me know what would be the fastest way to render those two passes.

thanks

Link to comment
Share on other sites

I was hoping it would be possible to force phantom parameter in the shader...

I think the answer is no, but not sure. The most intuitive way to me would be to create another output driver and another take where the phantom parameter of objects is toggled as necessary.

Link to comment
Share on other sites

I am not familiar what "phantom" does to the shader. As I understand it just skips the primary bounce. How would I replicate this in the shader?

You could create your own "phantom" shader that is driven by point attributes rather than the object level phantom parameter.

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...