Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.25 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.25 KB

magicavoxel-extrude-shader+bonus!

Supports

Extrude Shader for MagicaVoxel to enhance common and repetitive tasks. +bonus shaders

Installation

Install the shader files by copying the files from the shader directory in this project into the shader directory of your MagicaVoxel installation.

Extrude

xs ex [direction] (optional)[decay]
xs ey [direction] (optional)[decay]
xs ez [direction] (optional)[decay]

The extrude shader will "duplicate" the voxels of the chosen palette color on the axis chosen(ex, ey, ez), in the direction (-1,1) of that axis. Optionally the a decay argument can be supplied to remove a ring/border of voxels around the opposite axis' perimeter. Repetively repeating the extrude shader will extrude in the direction, and with decay will falloff / create a stair case effect following the countour of the voxels selected by palette color. (Similar to pyramid, but in on any axis).

I hope that the voxel shader is as useful for you as it has been for me!