create_material
Create a Houdini material in /mat with configurable base color, roughness, metallic, and opacity for Principled or MaterialX shading.
Instructions
Create a material in /mat with configurable surface properties.
Args: name: Material node name; refused if taken. Default: material1, numbered up when that exists. mat_type: Material type ("principled", "materialx"). base_color: [R, G, B] base color, 0-1 per channel. roughness: Surface roughness, 0-1. metallic: Metallic factor, 0-1. opacity: Opacity, 0-1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| opacity | No | ||
| mat_type | No | principled | |
| metallic | No | ||
| roughness | No | ||
| base_color | No |