set_light_group
Assign lights, emissive objects, or the world to a light group. Each group renders as a separate pass, allowing light balance changes in the compositor without re-rendering.
Instructions
Put lights (or emissive objects, or the world) into a light group.
Each light group renders as its own pass (Cycles), so light balance can be changed in the compositor without re-rendering: the Render Layers node gets a Combined_ output. The group is created if needed.
Args: group: Light group name. Blender turns dots into underscores; the result gives the name actually used. objects: Lights or emissive objects to move into the group. world: Also put the world (sky/HDRI light) into the group. remove: Delete the group and take every member out of it.
Returns: Dict with the group name used and every light group with its members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | ||
| world | No | ||
| remove | No | ||
| objects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||