Glint

With the Glint node, you can create star-shaped rays around all the bright points in an image.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence to receive the star-shaped rays.

mask

An optional image to use as a mask. By default, the star-shaped rays are limited to the non-black areas of the mask.

At first, the mask input appears as a triangle on the right side of the node, but when you drag it, it turns into an arrow labeled mask. If you cannot see the mask input, ensure that the mask control is disabled or set to none.

Control (UI)

Knob (Scripting)

Default Value

Function

Glint Tab

channels

channels

all

The star-shaped rays are only applied to these channels.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

no. of rays

repeat

2

The number of rays coming out of the bright points in your image. For example, if you want to create five-pointed stars, enter 5 here.

length

length

50

Sets the length of the rays.

aspect ratio

aspect

1

Sets the aspect ratio of the star-shapes.

odd ray length

oddlen

1

Gives every other ray a different length and sets that length.

rotation

rotation

0

Rotates the star-shapes by degrees. Negative values produce anti-clockwise rotation.

from color

from_color

1

Sets the color in the beginning of the rays near the center point of the stars.

to color

to_color

0

Sets the color in the end of the rays.

steps

steps

5

Sets how many steps the rays are formed of. The more steps you use and the shorter the rays are, the smoother the rays become.

max

max

enabled

When enabled, the brightest image forming the rays is used.

When disabled, the images forming the rays are added up.

effect only

effect_only

disabled

When enabled, only outputs the effect without merging it with the original input image.

w

N/A

disabled

Enables the associated w channel to the right. Disabling this checkbox is the same as setting the channel to 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

Sets the threshold for how bright the highlights in the input image need to be to cause the glint effect. Only pixels above the threshold will bloom with the effect.

Low values produce more glint than high values.

gamma

gamma

1

Lets you perform a gamma correction on the highlights that cause glint before the glint effect is applied.

mask

N/A

disabled

Enables the associated mask channel to the right. Disabling this checkbox is the same as setting the channel to none.

maskChannelInput

none

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

inject

inject

disabled

Copies the mask input to the predefined mask.a channel. Injecting the mask allows you to use the same mask further downstream.

invert

invert_mask

disabled

Inverts the use of the mask channel, so that the transform is limited to the non-white areas of the mask.

fringe

fringe

disabled

When enabled, only apply the effect to the edge of the mask.

When disabled, the effect is applied to the entire mask.

mix

mix

1

Dissolves between the original image at 0 and the full effect at 1.

Step-by-Step Guides

Creating Star Filter Effects on Image Highlights