rprEnvironmentLightSetIntensityScale

Sets intensity scale for an environment light.

Environment lights provide a way to emulate radiance coming from the full hemisphere. It is advisable to use full HDR images for this purpose, as these images most accurately represent the dynamic range of environment lighting.

rpr_status rprEnvironmentLightSetIntensityScale(

rpr_light env_light,

rpr_float intensity_scale);

Parameters

Parameter

Description

light

The environment light to set the intensity scale for.

intensity_scale

The intensity of the source

Notes

Multiplies by the environment image.

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.