rprShapeSetShadowCatcher

Sets shadow catcher flag. This overrides the material on an object and makes it a shadow catcher for compositing shadows onto the background.

rpr_status rprShapeSetShadowCatcher(

rpr_shape shape,

rpr_bool shadowCatcher);

Parameters

Parameter

Description

shape

The shape to set the shadow catcher flag for.

shadowCatcher

Determines if the shape behaves as a shadow catcher.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.