build_material_nodes
Generate complex shader node trees by selecting a material preset and providing textures. Supports PBR, toon, glass, and custom node definitions for advanced shaders.
Instructions
Build complex shader node trees programmatically. Creates materials with proper node connections — far beyond simple color assignment.
Parameters:
material_name: Name for the new material
preset: Material preset: "pbr" — full PBR setup (provide textures) "toon" — toon/cel shader (VRChat-style) "glass" — realistic glass "hologram" — holographic effect "emission_pulse" — pulsing glow "matcap" — matcap material "skin" — subsurface skin shader "fabric" — cloth/fabric shader
textures: JSON map of texture paths: {"albedo": "path.png", "normal": "path.png", "metallic": "path.png", "roughness": "path.png", "ao": "path.png", "emission": "path.png"}
custom_nodes: JSON array of custom node definitions (advanced)
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": {
"material_name": "<material_name>"
},
"name": "build_material_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | ||
| textures | No | {} | |
| custom_nodes | No | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |