闪烁

使用“闪烁”节点,可以围绕图像中的所有亮点创建星形光线。

输入和控制

连接类型

连接名称

功能

输入值

未命名

图像序列接收星形射线。

面具

用作遮罩的可选图像。默认情况下,星形射线仅限于蒙版的非黑色区域。

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

Control (UI)

Knob (Scripting)

Default Value

功能

Glint Tab

channels

channels

all

星形射线仅应用于这些通道。

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

no. of rays

repeat

2

从图像亮点发出的光线数。例如,如果要创建五角星,请在此处输入5。

length

length

50

设置光线的长度。

aspect ratio

aspect

1

设置星形的纵横比。

odd ray length

oddlen

1

给其他所有射线赋予不同的长度并设置该长度。

rotation

rotation

0

将星形旋转度数。负值会产生逆时针旋转。

from color

from_color

1

在靠近星星中心点的光线开始处设置颜色。

to color

to_color

0

设置光线末端的颜色。

steps

steps

5

设置射线形成多少步。您使用的步骤越多,光线越短,光线就越平滑。

max

max

enabled

启用后,将使用形成光线的最亮图像。

禁用时,将形成光线的图像相加。

effect only

effect_only

disabled

启用后,仅输出闪烁效果,而不与原始输入图像合并。

w

N/A

disabled

启用关联w频道向右。禁用此复选框与将频道设置为none

w_channel

none

The channel to use as a mask for what are considered glint sources. Highlights in the non-black areas of this channel cause the glint effect, whereas highlights in the non-white areas do not.

This is different from the mask channel in that the glint effect can extend outside the matte in this channel as long as the highlights that cause the effect are inside the matte.

tolerance

tolerance

0.5

设置阈值,确定输入图像中的高光需要多亮才能引起闪烁效果。只有超过阈值的像素才会产生效果。

低值比高值产生更多的闪光。

gamma

gamma

1

使您可以在应用闪烁效果之前,对引起闪烁的高光执行伽马校正。

mask

N/A

disabled

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

maskChannelInput

none

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

inject

inject

disabled

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

invert

invert_mask

disabled

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

fringe

fringe

disabled

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

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

mix

mix

1

在0的原始图像和1的完整效果之间溶解。

分步指南

在图像高光上创建星形滤镜效果