light_set_shadow
Configure shadow settings for a light source in Godot, including enabling shadows, adjusting bias to reduce shadow acne, and setting blur amount.
Instructions
Configure shadow settings for a light source.
Category: Light
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) light_path: Path to the light node shadow_enabled: Whether shadows are enabled (default: True) shadow_bias: Shadow bias to reduce shadow acne shadow_blur: Shadow blur amount
Returns: Success message or error description
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"light_path": "<light_path>"
},
"name": "light_set_shadow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| light_path | Yes | ||
| shadow_enabled | No | ||
| shadow_bias | No | ||
| shadow_blur | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |