Peter Aversten

Lead Texture Artists
Blogger
Meshmen Studios

Layered Shading in Renderman 22

Layered shading in CGI is common practice when you want to go from one surface property to another. For example, if you have a metal object that was painted and also covered with dirt, in a traditional monolithic shader approach you would paint all surface properties in sync. If the object was painted in metal you would most likely have scratches in places and the maps would have to change both diffuse and specular as well as reflectivity maps or settings for IOR. When creating the same effect with a layered shader you can be more free by creating the materials but use masks to reveal where the effect takes place. Instead of exporting all of the maps again if you changed where the metal was scratched you will only export one mask. It’s also much easier to create variants by reusing some of the layers but changing others. Perhaps you want to reuse the dirt layer but change the color of a car as an example.

“Layering shaders is fun using Renderman 22”

Peter Aversten

Layering pxrLayer System

The Renderman layer shader is powerful and robust. It has the same settings as the all-purpose pxrSurface but with a few differences. The general shader settings live outside each material layer and is set in the main node. This would be settings like Reflectivity modes artistic or physical. The limitation is once you change mode here the upstream layers will also inherit these settings.  There is a shortcut in the main Renderman shelf that assigns a layered shader to the selected object. This will set up a simple layer network with all nodes needed to blend two materials. You can, of course, add more layers to this network as you see fit. I guess the most common scenario would be what I mentioned earlier re a metal and a painted metal with a dirt layer on top.

Let’s look at how we can utilize this method in Renderman for Maya.


Layering Strategies

When do you use a layer shader and when do you use a monolithic approach? Layering shaders have traditionally been a bit more expensive for shading and render time as the render engine has to compute more networks and handle more transparency operations. You will need to make a call whether it’s worth investing more time in texturing to have all textures in sync for the effect to simplify it by layering?  Also effects, like revealing one material beneath another it makes more sense to do it with a layered approach. You would export one animated mask instead of all masks. And its also a lot easier to change when the director changes his or her mind about things.

New Renderman series from Meshmen studio

Make sure to sign up for the non commercial  and we will be on our way rendering together. Did you miss my other Renderman tutorial?

See you on the channel

“Want me to cover something specific? Leave your comments below or use #askmeshmen on twitter ”

Peter Aversten

Zbrush and Megascan using Layered Displacement in Renderman

Peter Aversten Lead Texture ArtistsBloggerMeshmen Studios Layered Displacement in Renderman 22Megascan materials and Zbrush displacement using layered displacement in Renderman. Layering displacement is something we do in VFX on a regular basis. There is a fork in the...

Layered Shading in Renderman 22

Peter Aversten Lead Texture Artists Blogger Meshmen Studios Layered Shading in Renderman 22 Layered shading in CGI is common practice when you want to go from one surface property to another. For example, if you have a metal object that was painted and...

Renderman 22 | Lookdev Using Masks | Workflow

  Peter Aversten Lead texture artist Renderman 22 Lookdev using masks Using masks or ISOs as we sometimes called them is a common theme in VFX. We use them to alter textures or to apply effects limited to regions. In my case I exported two ISO maps from Mari, one...

Megascans in Renderman 22 | using tiled textures

  Peter Aversten Lead texture artist Megascans in Renderman 22 Megascans from Quixel have become an important resource when creating material based texturing and lookdev. So what is Megascans you might ask? Megascan is texture sets with tiled images all in sync. They...

Renderman 22 textures | Using textures in renderman

Peter Aversten Lead Texture Artists Blogger Meshmen Studios Renderman 22 Textures Using textures is the bread and butter in 3D and likely you will have them in UDIM sequence when exported from Mari or Substance painter. Renderman utilizes special texture...

Renderman 22.1 | New Features

Peter Aversten Lead Texture Artists Blogger Meshmen Studios New features in Renderman 22.1 The new Renderman 22.1 was recently released with the heavily requested non commercial license as well as a number oif other really great additions. here is a...

Renderman 22 lights tutorial

Peter Aversten Lead Texture Artists Blogger Meshmen Studios Renderman 22 Lights Im my opinion the lights in later releases of Renderman have been one of the strong points, The Renderman 22 release is no exception. The lights are really easy to operate and the number...

Renderman 22 first impressions

Peter Aversten Lead Texture Artists Blogger Meshmen Studios Renderman 22 first impressions Renderman 22 is finally out in the wild for commercial customers, I'm one of them. The non commercial version will be released after SIGGRAPH . The Renderman 22 update brings...

Renderman Introduction

Peter Aversten Lead Texture Artists Blogger Meshmen Studios Renderman Introduction Renderman has always been regarded as the industry standard for rendering demanding visual effects. Personally I have used it since the beginning of the 2000s in numerous roles such as...