Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Unlike other RenderMan bridge products, PxrLayerSurface is not exposed in the interface because all layerable parameters must be present in order for layering material parameters to work in Houdini.

You can find out all the details of PxrSurface and its layerable parameters by visiting the Pixar Surface Materials.

 

Info

In H16, vstruct is suppoted in RenderMan for Houdini.   So skip reading H15.5 Only below.

H15.5 Only

Note

Due to Houdini not supporting virtual struct in H15.5, material layering in RenderMan for Houdini is incompatible with other RenderMan bridge products.  

 

In RenderMan for Houdini 15.5, we layer the material parameters when its local parameter values have changed from the default values

For the easiest way to create a simple layered material, go to the RenderMan Menu and choose Create Material and select Pxr Layered Surface. We will create and network a layered material in the MAT pane.


Image AddedIf you want to force the default value of the layer to override the layer underneath, you can lock the parameter.  This is a workaround since Houdini 15.5 does not provide an option to force the value to be local. Image Removed

PxrLayer

We can override the parameter parameters in PxrSurface using the PxrLayer. Connect the output of PxrLayer to PxrSurface's PxrLayer. options. 

In this example, we set a green diffuse color in PxrSurface. Then we layer a PxrLayer node on top that has a cyan diffuse color. Note that one color covers the other, so we need to alter the Mixer node.

 Image RemovedImage Removed

 

Carousel Image Slider
dotsfalse
sliderHeight300
arrowsfalse
labelsFilterpxrsurface
slidesToScroll2
slidesToShow2
captionstrue
Carousel Image Slider
dotsfalse
sliderHeight300
arrowsfalse
labelsFilterdiffcolorchange
slidesToScroll2
slidesToShow2
captionstrue

...

We can combine layers using PxrLayerMixer.   Connect the output of PxrLayerMixer to PxrSurface's PxrLayer.

Image Removed

The mixer is where we decide where and how layers are mixed using masks. Below, patterns are connected to the Mask in the Mixer.


Image Added 


Carousel Image Slider
dotsfalse
sliderHeight300
arrowsfalse
labelsFilterdifflayers
slidesToScroll2
slidesToShow2
captionstrue

 

We can layer specular, iridescence, and other illumination lobes.

...