lachlanmcdonald / magicavoxel-shaders

A collection of shaders for MagicaVoxel to generate geometry, noise, patterns, and simplify common and repetitive tasks.
Other
623 stars 49 forks source link

Shader axis #20

Closed jeekca closed 3 years ago

jeekca commented 3 years ago

Hey guys,

I was wondering if it was possible to choose the axis of the shader?

I don't know if I'm missing something, but after lots of researching and trying out different things, I can't seem to find a way to get your voxel shaders (brushes in this instance) to work on a wall (Y axis only). I don't know if this is due to a lack of understanding MagicaVoxel or something else, but it seems that all of your brushes work as expected when applied a surface over the Z axis, but when applied on a wall, they all end up as straight vertical lines.

I'm on MagicaVoxel 0.99.6.2 and working with the shaders' latest master branch.

Thanks a ton!

lachlanmcdonald commented 3 years ago

Hi @jeekca;

  1. If you want to restrict the shaders to a particular axis, see #21 (only a few shaders can be restricted to a particular axis)
  2. To restrict the shaders to only certain voxels, have a look at the documentation