Sapphire Plug-ins for Autodesk: GlowDistComp


In the S_GlowsComp Plugin.

Generates glows based on the distances from the edges of the source input. Any edges in the input image, where the brightness crosses the given threshold value, will generate an equally bright glow into the darker side of the edges. This is similar to GlowDist, but here the source and background can be different clips.


Front: The clip to use as foreground.

Back: The clip to combine the glows with.

Matte: Optional. Specifies the opacities of the Front clip. These values are scaled by the Source Opacity parameter before being used.


Load Preset: Push-button .
Brings up the Preset Browser to browse all available presets for this effect.

Save Preset: Push-button .
Brings up the Preset Save dialog to save a preset for this effect.

Width: Default: 0.2, Range: 0 or greater.
Scales the glow distance. This and all the width parameters can be adjusted using the Width Widget. Note that a zero glow width still enhances the bright areas; set the brightness parameter to zero if you want to pass the Source through unchanged.

Width Red: Default: 1, Range: 0 or greater.
Scales the red glow distance. If the red, green, and blue widths are equal, the glows will be a single color given by the Color parameter. If they are not equal, the glows will vary in color with distance.

Width Green: Default: 1.2, Range: 0 or greater.
Scales the green glow width.

Width Blue: Default: 1.4, Range: 0 or greater.
Scales the blue glow width.

Brightness: Default: 0.8, Range: 0 or greater.
Scales the brightness of the glows.

Color: Default rgb: [1 1 1].
Scales the color of the glows.

Threshold Add Color: Default rgb: [0 0 0].
This can be used to raise the threshold on a specific color and thereby reduce the glows generated on areas of the source clip containing that color.

Threshold: Default: 0.5, Range: 0 or greater.
Glows are generated at the edges of areas in the source clip that are brighter than this value. A value of 0.9 causes glows from only the brightest spots. A value of 0 causes glows for every non-black area.

Source Opacity: Default: 1, Range: 0 to 1, Shared .
Scales the opacity of the Source input when combined with the glows. This does not affect the generation of the glows themselves.

Scale Back: Default: 1, Range: 0 to 1, Shared .
Scales the brightness of the background. This parameter only has an effect if the background input is provided, and is visible due to a partially transparent Source image or a reduced Source Opacity parameter value.


Glow Under Src: Default: 0, Range: 0 to 1, Shared .
Set to 1 to composite the Source input over the glows.

Glow From Matte: Default: 0, Range: 0 to 1, Shared .
Set to 1 to generate glows from the alpha channel of the source input instead of the RGB channels. In this case the glows will not pick up color from the source and will typically be brighter. Values between 0 and 1 interpolate between using the RGB and the Alpha.

Light Back: Default: 0, Range: 0 to 1, Shared .
Increase this to give a look of the glow casting light onto the background image. To see this more clearly you can also lower the Scale Background parameter or raise the Brightness parameter.

Comp Premult: Check-box,  Default: off, Shared .
Enable this for a better composite if the Front pixel values have been pre-multiplied by the Matte pixel values. This is also known as an 'additive' composite.

Show: Popup menu,  Default: Result .
Selects the type of output
Result: Shows the final result of combining the glow, source, and background.
Threshold: Shows the thresholded image that is used to generate the glow.

Combine: Popup menu,  Default: Screen .
Determines how the glow is combined with the Source or Background. This parameter has no effect if Light BG is set to 1.
Mult: the source or background is multiplied by the glow.
Add: the glow is added to the source or background.
Screen: the glow is blended with the source or background using a screen operation.
Difference: the result is the difference between the glow and the source or background.
Overlay: the glow is combined with the source or background using an overlay function.


Mocha: Default: 0, Range: 0 or greater, Shared .
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: 0 or greater, Shared .
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.

Mocha Opacity: Default: 1, Range: 0 to 1, Shared .
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off, Shared .
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Show Mocha Only: Check-box,  Default: off, Shared .
Bypass the effect and show the Mocha Mask itself.

Bypass Mocha: Check-box,  Default: off, Shared .
Ignore the Mocha Mask and apply the effect to the entire source clip.
See general info for: Res , On Fields , Redraw , Undo , Load Defaults , Crop , Add Noise , and Use Gamma .

See Also:

Sapphire Plug-ins Introduction


Join our email newsletter and keep up to date