- Home /
Confusion With Voxel Based Games
Im having trouble with voxel games. Im making my own voxel game and I want it to be like Yogventures and Castle Story (not really minecraft blocks) with flat land, impressive mountains etc.
Im not asking any of you though to give me a full out script (although that would be amazing) but im asking that do any of you know a good place where I can learn how to make a voxel game like a video or anything. Even if one you guys could explain to me?
Is there any good assets from the asset store that can help me!
Thanks
Answer by sparkzbarca · Jan 16, 2013 at 05:55 PM
the algorithm your roughly looking for is called
Marching Cubes
It works basically by having a finite number of possible shapes and figuring out which shape to use based on its neighbors. Its blazing fast though it lacks sharp edges, you can use dual contouring for that.
Is this your first thing? Voxels is not really something super easy to implement, except maybe by using a unity asset to do so.
You could spend several weeks getting a good working voxel system that doesnt produce alot of surface artifacts when extracting the surface on one polygon based on its neighbors.