Jump to content

Rendering layers - reflection


Recommended Posts

i havent tested it, but wouldnt it be just turing the diffuse, ambiet, spec, etc on your shader to black and just keeping your reflections?

if the shader supports it you can specify output planes in the renderROP.

This renders reflections and other usefull stuff into channels (pic, openxr) or as seperate files.

It's called Extra Image Planes in the properties tab of the output module.

Cheers,

Georg

Link to comment
Share on other sites

How can I find out whether the shader supports it or not? Also, when I create my new shader, how would I make it support the aforementioned process? By exporting certain parameters? I did a very basic test of creating two objects with different shaders (default houdini ones), and one of those shaders was "Reflective Material" from the material palette. In the extra image planes the choices i got were: color, opacity, alpha, position, position-s and normal. Would i choose color as a vex variable and specify a reflection under channel name?

Link to comment
Share on other sites

How can I find out whether the shader supports it or not? Also, when I create my new shader, how would I make it support the aforementioned process? By exporting certain parameters? I did a very basic test of creating two objects with different shaders (default houdini ones), and one of those shaders was "Reflective Material" from the material palette. In the extra image planes the choices i got were: color, opacity, alpha, position, position-s and normal. Would i choose color as a vex variable and specify a reflection under channel name?

Simply check shaders from Houdini's own gallery, most of them are build in a way allowing export deepraster. The only thing to watch out is to make sure variables names (on ROP deepraster) are the same as defined in shader (+ types are correct: float, vector etc). Those predefined in drop-down menu are just examples, You can export any variable from shaders that was checked as "Export" in VOPs (or exists in VEX code properly declared with "export" statement).

cheers,

sy.

Edited by SYmek
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...