Radeon ProRender


Sets light group ID when shape has an emissive material.

rpr_int rprShapeSetLightGroupID( rpr_shape shape,
  rpr_uint lightGroupID);


Parameter Description
shape The shape to set the light group ID for.
lightGroupID The light group ID to set.


Useful if you want arealights to output in an RPR_AOV_LIGHT_GROUP* to separate lighting.


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.