Radeon ProRender

rprDirectionalLightSetShadowSoftnessAngle

Sets softness of shadow produced by the light.

rpr_int rprDirectionalLightSetShadowSoftnessAngle( rpr_light light,
  rpr_float coeff);

Parameters

Parameter Description
light The light for which shadow softness will be set.
coeff Coefficient value within the range of [0;1]. 0.0 means sharp shadows.

Notes

Some renderers set a “size” of a directional light, this is the inverse.

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.