apply_depth_lighting
Apply directional lighting to sprites using depth information, preserving transparency and original pixel data for deterministic output.
Instructions
Apply deterministic depth-aware directional lighting to a sprite while preserving transparency and source data.
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": {
"input_filename": "<input_filename>",
"output_filename": "<output_filename>",
"direction": "<direction>"
},
"name": "apply_depth_lighting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| ambient | No | ||
| strength | No | ||
| direction | Yes | ||
| input_filename | Yes | ||
| output_filename | Yes |