rprSkyLightSetTurbidity

Sets turbidity of a sky light.

rpr_status rprSkyLightSetTurbidity(

rpr_light skylight,

rpr_float turbidity);

Parameters

Parameter

Description

skylight

The sky light to set turbidity for.

turbidity

The turbidity value to set.

Notes

Turbidity changes the “haziness” of the sky. Light attenuates differently in hazy skies.

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.