add_shader_node
Insert a shader node (noise, voronoi, mix, value) into a material's node tree at a specified position to build custom materials.
Instructions
Add a shader node to a material's node tree.
Args: material_name: Target material. node_type: Shader node type (e.g., 'TEX_NOISE', 'TEX_VORONOI', 'MIXRGB', 'VALUE'). location: [x, y] position in the node editor. name: Optional node label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| location | No | ||
| node_type | Yes | ||
| material_name | Yes |