Shadow Catcher

By setting a shape parameter with rprShapeSetShadowCatcher(), we can specify a mesh shape to be a ‘shadow catcher’. This will output to an AOV RPR_AOV_SHADOW_CATCHER tthe amount of shadow hitting the mesh. This can be useful for compositing later.

rprShapeSetShadowCatcher(meshPlaneBackground,true);