Sapphire Plug-ins for Autodesk: GlowDarksMaskComp


In the S_GlowsMaskCmp Plugin.

Areas of the source clip darker than the given threshold are blurred and combined with the background clip to give a deep smoky look. This is similar to GlowDarks but here the glow effect is scaled by the Mask input, and also 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.

Mask: The source glow colors are scaled by this input. A monochrome Mask can be used to choose a subset of Source areas that will generate glows. A color Mask can be used to selectively adjust the glow colors in different regions. The Mask is applied to the source before the glows are generated so it will not clip the resulting glows.


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: 1, 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 affects the dark areas; set the darkness parameter to zero if you want to pass the Source through unchanged.

Width X: Default: 1, Range: 0 or greater.
Scales the horizontal glow width. Set to 0 for vertical only.

Width Y: Default: 1, Range: 0 or greater.
Scales the vertical glow width. Set to 0 for horizontal only.

Subpixel: Check-box,  Default: off.
Enables glowing by subpixel widths. Use this for smoother animation of the Width parameters.

Invert Mask: Check-box,  Default: off, Shared .
If enabled, inverts the mask input so the effect is applied to areas where the Mask is black instead of white.

Darkness: Default: 1, Range: 0 or greater.
The magnitude of the dark glows.

Threshold: Default: 0.5, Range: 0 or greater.
Dark glows will be generated from locations in the source clip that are darker than this value. A value of 0.1 causes glows at only the darkest areas. A value of 1.0 causes glows on every non-white area.

Glow Saturation: Default: 1, Range: 0 or greater.
Scales the saturation of the dark colors. Increase for more intense colors.

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 input clip.


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.

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.

Atmosphere Parameters:

Atmosphere Amp: Default: 0, Range: 0 or greater.
Atmosphere gives the effect of the glow shining through a dusty atmosphere and picking up light or getting shadowed. This parameter adjusts the amount, or amplitude, of the atmospheric effect. Zero gives a smooth glow, higher values give more dusty look.

Atmosphere Freq: Default: 1, Range: 0.1 or greater.
Controls the spatial frequency of the atmospheric noise. Turn this up higher to get finer details, turn down for broader overall variation.

Atmosphere Detail: Default: 0.6, Range: 0 to 1.
Controls the amount of fine detail in the atmosphere simulation. Decrease to get smoother atmosphere, increase for a more crunchy or grainy look.

Atmosphere Seed: Default: 0.123, Range: 0 or greater.
Used to initialize the random number generator for the atmospheric noise. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.

Atmosphere Speed: Default: 1, Range: any.
The cloudy noise in the atmosphere evolves over time like real dust clouds; this parameter controls how fast the cloud pattern changes over time. Set to zero for a static pattern.


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.

Combine Masks: Popup menu,  Default: Union .
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
Union: Uses the area covered by both masks together.
Intersect: Uses the area that overlaps between the two masks.
Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
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