Skip to content

Grass Fit

Lachlan McDonald edited this page Jan 6, 2022 · 8 revisions

The Grass Fit shader generates random lines of voxels with a constant distribution; similar to grass or small plants. The color of the voxels is determined by the selected colors in the palette.

This shader is similar to the Grass brush shader, except this shader is applied to the entire volume.

Parameters

Parameter Description
Mode Color mode (see below)
Density Size of the area in which a line should be generated. Increasing density will increase the spacing between lines
Height Size of the area in which a line should be generated. Increasing density will increase the spacing between lines
Seed Global seed

Mode

There are 4 distinct color modes for generating voxels, as outlined below:

Example of a 'Mode' value of 0 Example of a 'Mode' value of 1
Mode: 0 Mode: 1
The color of the line is dependant on its height. The color of each voxel in the line is chosen at random.
Example of a 'Mode' value of 2 Example of a 'Mode' value of 3
Mode: 2 Mode: 3
The color of the line is chosen at random. The color of the line is a gradient between Color A and Color B (regardless of height.)

Density

Height

Notes

  • The shader will cause issues when used with the Marquee Select tool (as the shader can't see voxels that are unselected.)
Clone this wiki locally