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

Contents

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.

Parameters

Invert

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

Example

PxrShadedSide with PxrMix for Diffuse Color