Skip to content

Gradient Brush

Lachlan McDonald edited this page Aug 28, 2021 · 10 revisions

gradient is a brush which generates different styles of gradients from the selected colors.

Parameters

Parameter Description
Mode Gradient mode (see below)
Direction Direction of the gradient (see below)
Noise Amount of noise to introduce between each of the selected.
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

License

This script utilises or modifies code from other projects or publications. Please see the attributions below for more information:

  1. Interweaved gradient noise adapted from "Next Generation Post Processing in Call of Duty Advanced Warfare"
    by Jorge Jimenez (Graphics R&D Technical Director - Activision Blizzard)
    http://advances.realtimerendering.com/s2014/index.html
Clone this wiki locally