add_glow
Adds a dithered light pool on a new layer to simulate fire, lantern, or window glow, with adjustable color, radius, strength, and flicker animation.
Instructions
Light the scene from a fire, lantern, or window at x, y: a pool of
color that fades out by radius in dithered steps, on a new layer that
adds its light to what is under it. strength is 0-1. flicker (0-1)
makes the pool breathe as a seamless loop over every frame. on_layers are
the top-level layers the light lands on (the ground, a figure); open air round
them takes only air of it, so the sky behind a campfire stays dark. By
default it lights everything. The layer is named layer and goes on top. One
undo step. Headless: pass file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>",
"radius": "<radius>"
},
"name": "add_glow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| air | No | ||
| file | No | ||
| color | No | #ff8c3c | |
| layer | No | Glow | |
| radius | Yes | ||
| flicker | No | ||
| strength | No | ||
| on_layers | No |