S_Gradient

Makes 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 effects submenu.


Inputs:

Background:  Optional.   The clip to combine the gradient with.
        

Parameters:

Start:   X & Y,   Default: [360 436],  Range: any.
The starting location of the gradient. This parameter can be adjusted using the Start Widget.

End:   X & Y,   Default: [360 50],  Range: any.
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

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. Set this to 1.0 to enable effective debanding for 8 bit results.

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.

Bg Brightness:   Default: 1,  Range: 0 or greater.
Scales the brightness of the background before combining it with the gradient.

Combine:   Popup menu,  Default: Screen.
Determines how the gradient is combined with the background.
Grad Only:  gives the gradient image alone with no background.
Mult:  the background is multiplied by the gradient.
Add:  the background is added to the gradient.
Screen:  the background is blended with the gradient using a screen operation.
Difference:  the result is the difference between the background and gradient.
Overlay:  combines gradient and background using an overlay function.

Show Start: Check-box, Default: on.
Turns on or off the screen user interface for adjusting the Start parameter.

Show End: Check-box, Default: on.
Turns on or off the screen user interface for adjusting the End parameter.


See Also:

GradientRadial
GradientMulti
WipeLine
Sapphire Plug-ins Introduction


© 2009, GenArts, Inc. All rights reserved.