set_shader_param
Set a shader uniform value on a ShaderMaterial node by providing its node path and uniform name.
Instructions
Set a shader parameter (uniform) on a ShaderMaterial
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": {
"node_path": "<node_path>",
"param": "<param>"
},
"name": "set_shader_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| param | Yes | Shader uniform name | |
| value | No | Parameter value | |
| node_path | Yes | Node path with the ShaderMaterial |