AddMix
A * lutA(a) + B * lutB(a).
| Node | AddMix |
|---|---|
| Menu | Merge › AddMix |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_addmix" |
| .nk script | AddMix (how .nk import works) |
| Python | nuke.createNode("AddMix") |
| Assistant (MCP) | create_node(type="AddMix") |
| Tab search | addmix, or its initials am |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | A | image |
| input 1 | B | image |
| input 2 | mask | image |
| output 0 | Image | image |
Knobs
Panel tab Addmix, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
a_channels | A | text | rgba | A | Layer taken from A | |
b_channels | B | text | rgba | B | Layer taken from B | |
output | output | text | rgba | output | Layer written: rgba, rgb, alpha or any layer name | |
premultiplied | premultiplied | bool | false | premultiplied | ||
nonlinear | nonlinear | bool | false | nonlinear | ||
lut | lut | text | {A {curve 0 1} B {curve 1 0}} | |||
mask_channel | mask | menu | none | none, rgba.alpha, rgba.red, rgba.green, rgba.blue | ||
invert_mask | invert | bool | false | invert_mask | ||
mix | mix | float | 1 | 0 to 1 | mix |
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 |
|---|---|
A | a_channels |
B | b_channels |
Other .nk knobs use the same name here. See .nk import.