JOS JOS Compositor

Node reference

Math nodes

Add

Adds a value to each channel (per channel for R, G, B, A).

Inputs: input, mask (optional).

Setting Default Range or choices What it does
channels all rgb, rgba, alpha, all rgb, rgba, alpha, all, or a layer (depth) or channel by name, as Nuke's.
value 0 -1 to 1 Added per channel: r, g, b, a to R, G, B, A (and to a layer's channels in order).
invert mask off Use 1 - the mask's alpha.
(un)premult by none none, A Divide the colour by this channel (A: the alpha) before the change and multiply it back after, as Nuke's; none: off.
invert (un)premult off Use 1 - that channel.
mix 1 0 to 1 How much of the result shows over the input: 0 is the input, 1 the full effect.

Clamp

Keeps values between a minimum and a maximum.

Inputs: input, mask (optional).

Setting Default Range or choices What it does
channels all rgb, rgba, alpha, all rgb, rgba, alpha, all, or a layer (depth) or channel by name, as Nuke's.
minimum 0 -1 to 1 Values below this are raised to it, per channel.
minimum on on Off: values below the minimum are left alone.
maximum 1 0 to 4 Values above this are lowered to it, per channel (never below the minimum).
maximum on on Off: values above the maximum are left alone.
min clamp to 0 -1 to 1 What values below the minimum become, while min clamp to on is set.
min clamp to on off Values below the minimum become min clamp to instead of the minimum.
max clamp to 1 0 to 4 What values above the maximum become, while max clamp to on is set.
max clamp to on off Values above the maximum become max clamp to instead of the maximum.
invert mask off Use 1 - the mask's alpha.
(un)premult by none none, A Divide the colour by this channel (A: the alpha) before the change and multiply it back after, as Nuke's; none: off.
invert (un)premult off Use 1 - that channel.
mix 1 0 to 1 How much of the result shows over the input: 0 is the input, 1 the full effect.

Gamma

Raises positive values to 1/gamma; negative values are left alone.

Inputs: input, mask (optional).

Setting Default Range or choices What it does
channels all rgb, rgba, alpha, all rgb, rgba, alpha, all, or a layer (depth) or channel by name, as Nuke's.
gamma 1 0.2 to 5 Positive values are raised to 1 / gamma, per channel (above 1 brightens values under 1); negative values are left alone.
invert mask off Use 1 - the mask's alpha.
(un)premult by none none, A Divide the colour by this channel (A: the alpha) before the change and multiply it back after, as Nuke's; none: off.
invert (un)premult off Use 1 - that channel.
mix 1 0 to 1 How much of the result shows over the input: 0 is the input, 1 the full effect.

Invert

1 - value.

Inputs: input, mask (optional).

Setting Default Range or choices What it does
channels all rgb, rgba, alpha, all rgb, rgba, alpha, all, or a layer (depth) or channel by name, as Nuke's.
invert mask off Use 1 - the mask's alpha.
(un)premult by none none, A Divide the colour by this channel (A: the alpha) before the change and multiply it back after, as Nuke's; none: off.
invert (un)premult off Use 1 - that channel.
mix 1 0 to 1 How much of the result shows over the input: 0 is the input, 1 the full effect.

Multiply

Multiplies each channel by a value (per channel for R, G, B, A).

Inputs: input, mask (optional).

Setting Default Range or choices What it does
channels all rgb, rgba, alpha, all rgb, rgba, alpha, all, or a layer (depth) or channel by name, as Nuke's.
value 1 0 to 4 Multiplies per channel: R, G, B, A by r, g, b, a (and a layer's channels in order).
invert mask off Use 1 - the mask's alpha.
(un)premult by none none, A Divide the colour by this channel (A: the alpha) before the change and multiply it back after, as Nuke's; none: off.
invert (un)premult off Use 1 - that channel.
mix 1 0 to 1 How much of the result shows over the input: 0 is the input, 1 the full effect.