Sapphire Plug-ins for Autodesk: GrainMonoMask


In the S_GrainMask Plugin.

Adds black and white grain of given amplitude and frequency to areas of the source clip specified by the Mask input.


Source: The clip to be processed.

Mask: Scales the amplitude of the applied effect. For black areas of Mask, the Source remains unchanged, for gray areas the effect is reduced. Only the red channel of this input is used. The mask can optionally be inverted using Invert Mask parameter.


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.

Amplitude: Default: 0.1, Range: 0 or greater.
The amplitude of grain to add.

Frequency: Default: 100, Range: 0.01 or greater.
The frequency of the grain.

Octaves: Integer,  Default: 1, Range: 1 to 10.
The number of octaves of grain to include. Each octave is twice the frequency and half the amplitude of the previous.

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

Jitter Frames: Integer,  Default: 1, Range: 0 or greater, Shared .
If this is 0, the noise texture will remain the same for every frame processed. If it is 1, a new noise texture is used for each frame. If it is 2, a new noise texture is used for every other frame, and so on.

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.



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