add_shader_node
Add a shader node to a material's node tree in Blender, specifying the node type and location.
Instructions
Add a shader node to a material's node tree.
Args: material_name: Name of the material. node_type: Blender shader node type (e.g. ShaderNodeBsdfPrincipled). location: Node location as [x, y], default [0, 0].
Returns: Dict with material, node_name, and node_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_name | Yes | ||
| node_type | Yes | ||
| location | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||