Skip to content

Simple experimentations of terrain generation in Unity3D and MagicaVoxel to render voxels.

License

Notifications You must be signed in to change notification settings

niezbop/Voxel-Terrain-Generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxel Terrain Generation

This repository shows the way I've setup Unity3D to be able to create terrain generators and export them to VOX files.

Disclaimer : the code presented here is not optimized at all! This is just the first take on this subject I have been doing and requires several cycles of cleaning up.

Rendered output

How does it work

Add the GeneratorScript behaviour on any game object in Unity, plug it in any kind of mesh renderer and it's good to go.

You can create your own generators by inheriting the AbstractGenerator class and modifying a bit the GeneratorScript to select and preview them.

Credits

I'm working on

  • Fixing the various bugs/issues in my code
  • More generators
  • Improving VOX files reading in the VOX parser

About

Simple experimentations of terrain generation in Unity3D and MagicaVoxel to render voxels.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages