set_material_properties
Set Principled BSDF values on an existing material in Blender, adjusting color, roughness, metallic, transmission, and more. Clearly fails if a property is texture-driven, directing you to edit the node or disconnect it.
Instructions
Update Principled BSDF properties on an existing material.
Fails clearly if a property is driven by a texture node -- edit that node instead, or disconnect it first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ior | No | ||
| name | Yes | Material to change | |
| alpha | No | ||
| metallic | No | ||
| roughness | No | ||
| base_color | No | [r, g, b] or [r, g, b, a], each 0..1 (linear) | |
| coat_weight | No | ||
| blend_method | No | ||
| sheen_weight | No | ||
| transmission | No | ||
| emission_color | No | [r, g, b] or [r, g, b, a], each 0..1 (linear) | |
| emission_strength | No | ||
| specular_ior_level | No | ||
| use_backface_culling | No |