Jump to content
angad.singh06

Rendering Multi Pass/ takes from different shaders in one EXR

Recommended Posts

Hi,

I am rendering a fluid Simulation from Houdini 12.5, I need the follwing pass into one EXR file for that fluid

  • Beauty Pass
  • Flat Color pass
  • Self Shadow pass
  • Desnity pass
  • Shadow pass
    etc...

I am very new to Houdini (three weeks old), I am not sure that, if I use different shaders for each pass how can I integrate them together, or add them to different takes and the combine those takes into one EXR File.

I am still learning about custom shaders, I did manage to create a density pass by adding red and blue color in FireBall shader, and then used that paramter from the VEX in mantra as a seprate pass. But my primary shader as is billowi smoke, how do I combine all that into a single file

Super Awesome thanks in advance.

  • Like 1

Share this post


Link to post
Share on other sites

You don't need to use different shaders. You need to add attribute exports to the existing shader. 

 

Edit the billowy smoke shader and add bind VOPS via "Bind Export" for any attributes you wish to export from your shader as an AOV (arbitrary output variable). Once you've added the attribute exports to the shader, add extra image planes for each desired attribute from the Mantra ROP "output" tab. 

 

For example, in the billowy smoke shader attach a "bind export" vop to the "density" parameter VOP. Name it "density". In the mantra ROP, create an extra image plane for "density" and you'll get that image plane added to your .exr output file. 

  • Like 1

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

×