Skip to content

pentool/mvs-wall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

MagicaVoxel Wall Shader

This shader creates various wall-like structures. It has three modes to create walls, lines, or points. You can adjust the model box X/Y/Z size to limit the respective axis size to create longer, wider, narrower, or taller structures.

You can use this shader in Voxel Shader Mode as well, which allows you to modify the parameters and adjust the model cage in realtime.

See a short video on YouTube about the shader in action.

To install, download "mvs-wall.txt" and place it into your "MagicaVoxel > shader > custom" folder.

Parameters

Type

Values: 1 - 3
Type of structure to generate. 1 - walls, 2 - lines, 3 - points. In type 3 (point) mode, the x/y/z axes settings are ignored.

Spacing

Values: 0 - 255
Spacing between voxels.

Thickness

Values: 1 - 255
Adjust the thickness of the generated structure.

X/Y/Z Axis

Values: 0, 1
Create voxels on the selected axes. You can select a single or multiple axes. When the value is set to 0, that axis will be ignored.

X/Y/Z Offset

Values: -255 - 255
Offset the structure left/right or up/down by this many voxels to generate symmetrical surfaces.

Examples

Look at the parameter values and model box size on the screenshots to recreate the structure. (Click image for larger version.)

Default "wall".

1

Default "line".

2

Default "point".

3

Variations on "wall".

1 1

1 1

1 1

1 2

1 3

1 4

1 5

1 6

Variations on "line".

2 1

Using the Move Tool we can move the voxels up/down on the Z-axis to instantly create a fence.

2 2

Variation on "point".

3 1

About

MagicaVoxel Wall Shader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published