Skip to content
Lachlan McDonald edited this page Jul 7, 2020 · 28 revisions
  • The sand and sand2 shaders add a layer of voxels on top of voxels matching the selected color.
  • sand will only add voxels when the adjacent voxels match the selected color. Whereas, sand2 will add voxels if there are adjacent voxels of any color.

Voxels are added randomly and only added when the voxel beneath has adjacent voxels, creating the effect of a rough pile of sand. The number of adjacent neighbors affects the randomness, with a higher number of neighbors increasing the odds a voxel will be added.

Arguments

Voxels are added on top of voxels matching the selected color.

Argument Description
Color Color index of added voxels. If set to 0, the selected color index is used instead

Examples

Clone this wiki locally