Skip to content

Gradient Brush

Lachlan McDonald edited this page Feb 26, 2023 · 10 revisions

The gradient brush generates different styles of gradients from the colors selected from the palette.

To generate radial (circular) gradients, see the Radial Gradient brush.

Parameters

Parameter Description
Mode Gradient mode (see below)
Direction Direction of the gradient (see below)
Dither Amount of dithering between each of the selected colors
Seed Global seed (not all modes are affected)

Mode

Example of a 'Mode' value of 0 Example of a 'Mode' value of 1
Mode: 0 Mode: 1
Interweaved noise Random noise
Example of a 'Mode' value of 2 Example of a 'Mode' value of 3
Mode: 2 Mode: 3
Randomised scanlines Even scanlines
Example of a 'Mode' value of 4 Example of a 'Mode' value of 5
Mode: 4 Mode: 5
Waveform noise Ordered dithering (using a 4x4 Bayer Matrix)

Direction

Example of a 'Direction' value of 0 Example of a 'Direction' value of 1 Example of a 'Direction' value of 2
Direction: 0 Direction: 1 Direction: 2
Gradient across the Z-axis Gradient across the Z-axis (in reverse) Gradient across the Y-axis
Example of a 'Direction' value of 3 Example of a 'Direction' value of 4 Example of a 'Direction' value of 5
Direction: 3 Direction: 4 Direction: 5
Gradient across the Y-axis (in reverse) Gradient across the X-axis Gradient across the X-axis (in reverse)

Noise

Example of a 'Noise' value of 0 Example of a 'Noise' value of 5
Noise: 0 Noise: 5
Example of a 'Noise' value of 20 Example of a 'Noise' value of 40
Noise: 20 Noise: 40

Download

View the shaders below or download the latest release:

Clone this wiki locally