Radeon ProRender

rpr_light_info

Usage

Information to retrieve on an rpr_light object.

Possible Values

Name Value Brief Explanation
RPR_LIGHT_TYPE 0x801 Type of light.
RPR_LIGHT_TRANSFORM 0x803 16 float matrix transform for light.
RPR_POINT_LIGHT_RADIANT_POWER 0x804 Power of light in Watts (for point lights).
RPR_LIGHT_GROUP_ID 0x805 Group ID 0-3 set by rprLightSetGroupID.
RPR_LIGHT_NAME RPR_OBJECT_NAME Custom name set with rprObjectSetName().
RPR_LIGHT_UNIQUE_ID RPR_OBJECT_UNIQUE_ID ID for this object.
RPR_LIGHT_CUSTOM_PTR RPR_OBJECT_CUSTOM_PTR Custom pointer, if set on this object.
RPR_DIRECTIONAL_LIGHT_RADIANT_POWER 0x808 Power of light in Watts (for directional lights).
RPR_DIRECTIONAL_LIGHT_SHADOW_SOFTNESS_ANGLE 0x80A Value range is [0, 1], 0 being fully sharp shadow, 1 fully soft.
RPR_SPOT_LIGHT_RADIANT_POWER 0x80B Power of light in Watts (for spot lights).
RPR_SPOT_LIGHT_CONE_SHAPE 0x80C Angle of cone for spot light.
RPR_SPOT_LIGHT_IMAGE 0x80D Image for spot light.
RPR_ENVIRONMENT_LIGHT_IMAGE 0x80F Image set on environment light.
RPR_ENVIRONMENT_LIGHT_OVERRIDE_REFLECTION 0x81A Environment light override to use for reflection rays.
RPR_ENVIRONMENT_LIGHT_OVERRIDE_REFRACTION 0x81B Environment light override to use for refraction rays.
RPR_ENVIRONMENT_LIGHT_OVERRIDE_TRANSPARENCY 0x81C Environment light override to use for transparent rays.
RPR_ENVIRONMENT_LIGHT_OVERRIDE_BACKGROUND 0x81D Environment light override to use for background color.
RPR_ENVIRONMENT_LIGHT_INTENSITY_SCALE 0x810 Linear scale on environment light image.
RPR_SKY_LIGHT_TURBIDITY 0x812 Haziness of Sky light.
RPR_SKY_LIGHT_ALBEDO 0x813 Albedo for Sky color.
RPR_SKY_LIGHT_SCALE 0x814 Sun brightness.
RPR_SKY_LIGHT_DIRECTION 0x815 Direction of sun.
RPR_IES_LIGHT_RADIANT_POWER 0x816 Power of light in Watts (for IES lights).
RPR_IES_LIGHT_IMAGE_DESC 0x817 IES file info.
RPR_ENVIRONMENT_LIGHT_PORTAL_LIST 0x818 List of portal objects of environment light.
RPR_ENVIRONMENT_LIGHT_PORTAL_COUNT 0x819 Number of portal objects on env light.
RPR_SKY_LIGHT_PORTAL_LIST 0x820 List of portal objects of sky light.
RPR_SKY_LIGHT_PORTAL_COUNT 0x821 Number of portal objects on sky light.
RPR_SPHERE_LIGHT_RADIANT_POWER 0x822 Power of a sphere light in Watts.
RPR_SPHERE_LIGHT_RADIUS 0x824 Radius of a sphere light. Wider radius lights will give softer shadows.
RPR_DISK_LIGHT_RADIANT_POWER 0x823 Power of a disk light in Watts.
RPR_DISK_LIGHT_RADIUS 0x825 Radius of a disk light. Wider radius lights will give softer shadows.
RPR_DISK_LIGHT_ANGLE 0x826 Emission angle of a disk light.