create_light
Create a light in Blender by specifying type, location, color, energy, and shadow parameters for point, sun, area, or spot lights.
Instructions
Create a light.
For a quick, even setup to inspect an asset, use create_preview_lighting instead of placing lights one at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size | No | AREA light size; bigger means softer shadows | |
| type | No | Light type | POINT |
| angle | No | SUN angular diameter in degrees; larger softens shadows | |
| color | No | [r, g, b] or [r, g, b, a], each 0..1 (linear) | |
| energy | No | Watts for POINT/SPOT/AREA (100-1000 is typical a few metres away); irradiance for SUN (1-5 is daylight) | |
| look_at | No | [x, y, z] in Blender units | |
| location | No | [x, y, z] in Blender units | |
| rotation | No | [x, y, z] in DEGREES. Only matters for SUN, SPOT and AREA. | |
| spot_size | No | SPOT cone angle in degrees | |
| collection | No | ||
| spot_blend | No | ||
| look_at_object | No | ||
| shadow_soft_size | No | POINT/SPOT radius; bigger means softer shadows |