Radeon ProRender


Sets the radius of the sphere light. For softer shadows, use a larger radius. For point light, use a tiny radius.

rpr_status rprSphereLightSetRadius( rpr_light light,
  rpr_float radius);


Parameter Description
light The light for which radius will be set.
radius Radius of the sphere light.


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.