You are viewing RenderMan 22 documentation which is not the current release. You may view the current documentation by visiting the home page.

Page tree


PxrShadedSide is an OSL pattern that tells us which side is being shaded. This is useful for shading object with two sides where we can assign different color to each side of the object.



If the side we want is on the opposite side, turn this on to invert it.


PxrShadedSide with PxrMix for Diffuse Color