-
Notifications
You must be signed in to change notification settings - Fork 50
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.
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 |
There are 4 distinct color modes for generating voxels, as outlined below:
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. |
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.) |
- The shader will cause issues when used with the Marquee Select tool (as the shader can't see voxels that are unselected.)
All content in this wiki is licenced under the CC BY-NC-SA 4.0 license. Code snippets are dual-licenced under the MIT License.