S_GradientMakes a smooth color gradient across the screen using given Start and End locations and colors, then optionally combines the gradient with a background clip. Increase Add Noise to reduce banding artifacts in the gradient due to color quantization.In the Sapphire Render category.
Inputs:
|
|
Parameters:
-
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.
-
Mocha:
Default:
0,
Range:
0 or greater.
Brings up the Mocha window for tracking footage and generating masks.
-
Blur Mocha:
Default:
0,
Range:
0 or greater.
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.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.
-
Invert Mocha:
Check-box, Default:
off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.
-
Resize Mocha:
Default:
1,
Range:
0 to 2.
Scales the Mocha Mask. 1.0 is the original size.
-
Resize Rel X:
Default:
1,
Range:
0 to 2.
The relative horizontal size of the Mocha Mask.
-
Resize Rel Y:
Default:
1,
Range:
0 to 2.
The relative vertical size of the Mocha Mask.
-
Shift Mocha:
X & Y, Default:
[0 0],
Range:
any.
Offsets the position of the Mocha Mask.
-
Bypass Mocha:
Check-box, Default:
off.
Ignore the Mocha Mask and apply the effect to the entire source clip.
-
Show Mocha Only:
Check-box, Default:
off.
Bypass the effect and show the Mocha Mask itself.
-
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.
- Intersect: Uses the area that overlaps between the two masks.
-
Union:
Uses the area covered by both masks together.
-
Start:
X & Y, Default:
screen upper center.
The starting location of the gradient. This parameter can be adjusted using the Start Widget.
-
End:
X & Y, Default:
screen lower center.
The ending location of the gradient. This parameter can be adjusted using the End Widget.
-
Start Color:
Default rgb:
[1 1 1].
The color of the gradient at the Start location.
-
End Color:
Default rgb:
[0 0 0].
The color of the gradient at the End location
-
Swap Colors:
Check-box, Default:
off.
If checked, reverses the direction of the gradient by swapping the Start and End colors.
-
Brightness:
Default:
1,
Range:
0 or greater.
Scales the brightness of the gradient image (both the Start Color and End Color).
-
Add Noise:
Default:
0,
Range:
0 or greater.
If positive, this amount of noise is added to the gradient. This can create a grainy effect and eliminate banding in the gradient due to quantization.
-
Smooth Curve:
Default:
0,
Range:
0 to 1.
If zero, a linear interpolation is used across the screen between the Start and End Color. Increase this value to use a smoother 'S' shaped curve for interpolation which can reduce the visual perception of the gradient's Start and End locations.
-
Scale Background:
Default:
1,
Range:
0 or greater.
Scales the brightness of the source image before combining it with the gradient.
-
Combine:
Popup menu, Default: Grad Only
.
Determines how the gradient is combined with the source image.
-
Grad Only:
gives the gradient image alone with no source.
- Mult: the source is multiplied by the gradient.
- Add: the source is added to the gradient.
- Screen: the source is blended with the gradient using a screen operation.
- Difference: the result is the difference between the source and gradient.
- Overlay: combines gradient and source using an overlay function.
- Mult: the source is multiplied by the gradient.
-
Grad Only:
gives the gradient image alone with no source.
-
Mask Use:
Popup menu, Default: Luma
.
Determines how the Mask input channels are used to make a monochrome mask.
-
Luma:
the luminance of the RGB channels is used.
- Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.
- Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.
-
Luma:
the luminance of the RGB channels is used.
-
Blur Mask:
Default:
0.05,
Range:
0 or greater.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas. It has no effect unless the Mask input is provided.
-
Invert Mask:
Check-box, Default:
off.
If on, inverts the mask input so the effect is applied to areas where the Mask is black instead of white. This has no effect unless the Mask input is provided.