-
Notifications
You must be signed in to change notification settings - Fork 50
Soil
Lachlan McDonald edited this page Jun 27, 2021
·
10 revisions
The
soil
,soil_replace
shaders adds a layer of voxels of a color on top of voxels matching the selected colors.soil
adds the voxels on top, andsoil_replace
replaces the voxels.This shader is similar to the
cover
shader, exceptcover
adds a layer to all voxels, where these shaders only works on the selected colours.
Argument | Description |
---|---|
Color | Color index |
Headroom | The number of voxels of space that must be available above the surface voxel. Setting to a higher value will stop voxels from forming in gaps |
A Headroom of 1 checks that 1 voxel higher to make sure there is room. |
A Headroom of 10 checks that 10 voxels higher to make sure there is room. Resulting in gaps where there is overhang from other voxels. |
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.