# MotionBlur3D

> Blur from camera motion and depth.

| Node | MotionBlur3D |
|---|---|
| Menu | Filter › MotionBlur3D |
| **Names in each format** | |
| .oink comp (JSON) | `"type": "OC_N_motionblur3d"` |
| .nk script | `MotionBlur3D` ([how .nk import works](/docs/nuke-users/nk-import)) |
| Python | `nuke.createNode("MotionBlur3D")` |
| Assistant (MCP) | `create_node(type="MotionBlur3D")` |
| Tab search | `motionblur3d`, or its initials `mb3d` |

![MotionBlur3D properties](/shots/nodes/motionblur3d@2x.webp)

## Inputs and outputs

| Port | Name | Type |
|---|---|---|
| input 0 | Image | image |
| input 1 | cam | image |
| output 0 | Image | image |

## Knobs

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

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `shutter` | shutter | float | `0.5` | 0 to 2 | `shutter` |  |
| `shutteroffset` | shutter offset | menu | `centred` | centred, start, end, custom | `shutteroffset` |  |
| `shuttercustomoffset` | custom offset | float | `0` | -2 to 2 | `shuttercustomoffset` |  |
| `samples` | samples | float | `16` | 1 to 128 (integer) | `samples` |  |
| `depth` | depth layer | text | `depth` |  |  |  |
| `depth_mode` | depth | menu | `one_over_z` | one_over_z (1/z (Nuke)), distance (z) |  |  |

### 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 |  |  |  |  |


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