Radeon ProRender


Sets the radius of the disk light. Larger areas give softer shadows.

The radius value is the size of the disk, not angle of light emission.

rpr_status rprDiskLightSetRadius( rpr_light light,
  rpr_float radius);


Parameter Description
light The light for which radius will be set.
radius Radius of the disk 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.