Maintenance on 2022-06-30

rmanwiki will be down from 7pm-8pm PT for maintenance.

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