Skip to content

Brick Brushes

Lachlan McDonald edited this page Jun 26, 2021 · 20 revisions

The Brick brushes generates alternating rows of randomly colored bricks. The colors of the bricks are determined by the selected colors in the palette.

There are two shaders, bricks and bricks_vert, that are functionally identical except bricks are offset horizontally for bricks and vertically for bricks_vert.

Arguments

Argument Description
Mode Color mode (see below)
Direction Facing direction of the bricks
Width Width of the brick
Height Height of each brick
Depth Depth of each brick
Grout Size Width of the grout between bricks, or 0 for no grout (see below)
Grout Color Color index for the grout color, or 0 for gaps.
Offset Misalignment of bricks per row (a value of 0 will determine the misalignment automatically)
Noise Randomness of the colors within each brick. Values closer to 0 produce solid colored bricks, where as values closer to 1 produce noisy bricks (see below)
Threshold Likelihood of a brick being placed. The default of 1.0 means all bricks are placed, and lower values will result in missing bricks (see below)

Mode

Example of a 'Mode' value of 0 Example of a 'Mode' value of 1 Example of a 'Mode' value of 2
Mode: 0 Mode: 1 Mode: 2
Brick colors are chosen at random Brick are colored as a gradient of the selected colors along the z-axis Same as mode 1 but in reverse

Grout Size

Example of a 'Grout' value of 0 Example of a 'Grout' value of 1 Example of a 'Grout' value of 2
Grout: 0 Grout: 1 Grout: 2

Noise

Example of a 'noise' value of 0.0 Example of a 'noise' value of 0.25 Example of a 'noise' value of 0.75
noise: 0.0 noise: 0.25 noise: 0.75

Threshold

Example of a 'Threshold' value of 1.0 Example of a 'Threshold' value of 0.8 Example of a 'Threshold' value of 0.6
Threshold: 1.0 Threshold: 0.8 Threshold: 0.6
Clone this wiki locally