使用“添加”节点,您可以抵销渠道的价值观。它将固定值添加到通道,实际上减轻了整个通道的亮度。您还可以向通道添加负值,在这种情况下,通道会变暗。

输入和控制

连接类型

连接名称

功能

输入值

未命名

要偏移的图像序列。

面具

用作遮罩的可选图像。默认情况下,偏移量仅限于蒙版的非黑色区域。

首先,遮罩输入在节点的右侧显示为三角形,但是当您拖动它时,它将变成标记为遮罩的箭头。如果看不到遮罩输入,请确保mask控件被禁用或设置为none

Control (UI)

Knob (Scripting)

Default Value

功能

Add Tab

channels

channels

all

偏移量仅应用于这些通道。

如果您将此设置为除all要么none,您可以使用右侧的复选框选择单个频道。

value

value

0

要添加到上面所选通道的值。正值会使所选通道变亮,负值会使它们变暗。

mask

N/A

disabled

在右侧启用关联的遮罩通道。禁用此复选框与将频道设置为none

maskChannelInput

none

The channel to use as a mask. By default, the offset is limited to the non-black areas of this channel.

inject

inject

disabled

复制mask输入到预定义mask.a渠道。注入面罩可让您在下游使用同一面罩。

invert

invert_mask

disabled

反转遮罩通道的使用,以便将偏移量限制在遮罩的非白色区域。

fringe

fringe

disabled

启用后,仅将效果应用于蒙版的边缘。

禁用时,该效果将应用到整个蒙版。

(un)premult by

N/A

disabled

在右侧启用关联的通道。禁用此复选框与将频道设置为none

unpremult

none

The image is divided by this channel before being processed, and multiplied again afterwards.

If you are using premultiplied input images, you may want to check (un)premult by and select rgba.alpha here. This will simulate doing the addition before the premultiplication was done. It is the same as adding an Unpremult node before this node and a Premult node after, but allows you to work faster if you’re only using one color correct node.

If you are using unpremultiplied input images, you should leave this set to none.

invert

invert_unpremult

disabled

反转(非)预乘通道的使用。

mix

mix

1

在0的原始图像和1的全偏移效果之间溶解。

分步指南

抵消渠道价值