Procedural Voxel Meshes

I created a simple library that generates meshes in a separate thread and applies them to a VoxelMesh component.

Make things like this on the fly:

Source is available on github:
https://github.com/afuzzyllama/ProceduralVoxelMesh

Enjoy!

3 Likes

In a separate thread… Multitasking just got simpler. I still love and never will understand voxels at the same time haha. Maybe your library will help me. Thanks for the share :wink:

1 Like

Just read your amazing method of creating separate threads in Unity. http://www.afuzzyllama.com/2015/08/29/creating-a-thread-in-unity3d/

Updated to be able to use simple texture maps as well: