shader_source
Reads vertex/fragment GLSL source and uniforms from a Three.js material; for NodeMaterial (TSL), use material_details instead.
Instructions
[INSPECT] Read-only. Vertex/fragment GLSL source and uniforms of a material. NodeMaterial (TSL) has no GLSL — use material_details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "shader_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| materialName | No | Material name | |
| materialUuid | No | Material UUID |