configure_lighting
Configure global lighting: ambient, fog, skybox, and bake settings
Category: Lighting
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action |
string | yes | Action to perform. One of: get_info, set_ambient, set_fog, set_skybox, bake |
|
ambient_mode |
string | Ambient lighting mode. One of: skybox, gradient, flat |
||
ambient_color |
string | Ambient color in hex format (for flat mode) | ||
ambient_sky_color |
string | Sky color for gradient mode | ||
ambient_equator_color |
string | Equator color for gradient mode | ||
ambient_ground_color |
string | Ground color for gradient mode | ||
ambient_intensity |
number | Ambient intensity multiplier | ||
fog_enabled |
boolean | Enable/disable fog | ||
fog_color |
string | Fog color in hex format | ||
fog_mode |
string | Fog mode. One of: linear, exponential, exponential_squared |
||
fog_density |
number | Fog density for exponential modes | ||
fog_start |
number | Fog start distance for linear mode | ||
fog_end |
number | Fog end distance for linear mode | ||
skybox_path |
string | Asset path to skybox material |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "configure_lighting", "arguments": { "action": "get_info" }}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "configure_lighting", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/LightingTools.cs (version 1.2.1). The client receives the same schema from tools/list.