-
Notifications
You must be signed in to change notification settings - Fork 50
Pyramid
Lachlan McDonald edited this page Jul 4, 2020
·
27 revisions
- The pyramid and pyramid2 shaders add a layer of voxel on top of voxels matching the selected color. A voxel is only added when the voxel beneath has adjacent voxels, creating the effect of a pyramid.
- pyramid will only add voxels when the adjacent voxels match the selected color. Whereas, pyramid2 will add voxels if there are adjacent voxels of any color.
Voxels are added on top of voxels matching the selected color.
Parameter | Description |
---|---|
Color | Color index of added voxels. If set to 0 , the selected color index is used instead |
When no axis modes are set, the shader will form a square pyramid. However, if either X or Y axis modes are set, the shader will form a pyramid with the slope facing the X or Y axis, respectively. Setting the Z-axis mode has no effect.
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.