Skip to content

Grid Brush

Lachlan McDonald edited this page May 11, 2022 · 42 revisions

The grid brush generates a grid pattern with configurable thickness and spacing.

Parameters

Parameter Description
Color A Color index of the lines
Color B Color index of the boxes in between the lines
Thickness Line thickness
Size X Spacing between lines on the X-axis
Size Y Spacing between lines on the Y-axis
Size Z Spacing between lines on the Z-axis

Setting Color A to 0 will result in gaps, instead of lines. Similarly, setting Color B to 0 will only produce lines (with no boxes in between).

Thickness

Example of a 'Thickness' value of 1 Example of a 'Thickness' value of 2
Thickness: 1 Thickness: 2
Example of a 'Thickness' value of 3 Example of a 'Thickness' value of 4
Thickness: 3 Thickness: 4

Axis Modes

Axis Modes can be used to ensure voxels are only generated on certain axes:

Example of no set axis mode Example of X-axis mode Example of Y-axis mode
No set axis mode X-axis mode Y-axis mode
Example of X & Y-axis mode Example of Z-axis mode
X & Y-axis mode Z-axis mode

Examples

Download

View the shaders below or download the latest release:

Clone this wiki locally