rprHeteroVolumeSetEmission
Sets the light emitting R,G,B for a heterogenous volume.
Emissive values can go beyond the range of [0;1].
rpr_int rprHeteroVolumeSetEmission( |
rpr_hetero_volume heteroVolume, |
rpr_float r, |
|
rpr_float g, |
|
rpr_float b); |
Parameters
Parameter |
Description |
---|---|
heteroVolume |
The heterogenous to set the light emission for. |
r |
The emissive value for the Red component. |
g |
The emissive value for the Green component. |
b |
The emissive value for the Blue component. |
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.