# GeoBindMaterial

> The `mat` input's material (Project3DShader, an image as a texture) on the prims
whose paths match `mask` (space-separated globs; a path also takes everything under it; empty = all meshes).

The `mat` input's material (Project3DShader, an image as a texture) on the prims
whose paths match `mask` (space-separated globs; a path also takes everything under it; empty = all meshes).
Scene Graph rows dropped on the mask knob fill it (ROADMAP 16.5, drag to project).

| Node | GeoBindMaterial |
|---|---|
| Menu | 3D › GeoBindMaterial |
| **Names in each format** | |
| .oink comp (JSON) | `"type": "OC_N_geobindmaterial"` |
| .nk script | `GeoBindMaterial`, also imports `ApplyMaterial` ([how .nk import works](/docs/nuke-users/nk-import)) |
| Python | `nuke.createNode("GeoBindMaterial")` |
| Assistant (MCP) | `create_node(type="GeoBindMaterial")` |
| Tab search | `geobindmaterial`, or its initials `gbm` |

![GeoBindMaterial properties](/shots/nodes/geobindmaterial@2x.webp)

## Inputs and outputs

| Port | Name | Type |
|---|---|---|
| input 0 | scene | scene |
| input 1 | mat | image |
| output 0 | scene | scene |

## Knobs

Panel tab **Geobindmaterial**, in panel order.

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `mask` | mask (prim paths) | text |  |  | `mask_patterns` | Prim paths to bind the material to (globs, space separated; empty = all) |

### Other knobs (Python, .nk and the assistant; not on the panel)

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `gl_color` | Viewer Controls Color | float ×3 | `0, 0, 0` | 0 to 1 |  |  |
| `postage_stamp_frame` | Static Frame | int | `1` | -2147483648 to 2147483647 |  |  |
| `lifetimeStart` | Lifetime Start | int | `0` | -2147483648 to 2147483647 |  |  |
| `lifetimeEnd` | Lifetime End | int | `100` | -2147483648 to 2147483647 |  |  |
| `useLifetime` | Use Lifetime | boolean | `false` |  |  |  |
| `cached` | Cached | boolean | `false` |  |  |  |
| `bookmark` | Bookmark | boolean | `false` |  |  |  |
| `dope_sheet` | Dope Sheet | boolean | `false` |  |  |  |
| `clone_group` | Clone Group | string |  |  |  |  |
| `link_source` | Link Source | string |  |  |  |  |
| `link_overrides` | Link Overrides | string |  |  |  |  |
| `split_views` | Split Views | string |  |  |  |  |

## Knob names in .nk scripts

| .nk knob | Knob here |
|---|---|
| `mask_patterns` | `mask` |

Other .nk knobs use the same name here. See [.nk import](/docs/nuke-users/nk-import).


---
Sources: opencomp_core/nodes/three_d/scene_ops.py, opencomp_electron/src/components/properties/knobSchema.ts, opencomp_core/nk/mapping.py
