Javier-Garzo / Marching-cubes-on-Unity-3D

Terrain voxel engine with the use of Marching Cubes implemented in Unity 2020.3.17f1 (LTS).
MIT License
334 stars 43 forks source link

Changing VOXEL_SIDE Error #4

Closed Somshekardsi closed 3 years ago

Somshekardsi commented 3 years ago

I'm changing the voxel side to 0.5f and the result is, How to subdivide chunk to get more vertices? image

Javier-Garzo commented 3 years ago

There was a problem with two constants in the chunk edit code that change the edit vertexs to wrong ones. I upload a fix for it, changing the wrong constant for the correct ones. If you see other problems comment me here or confirm that all work as expected.

Somshekardsi commented 3 years ago

Thanks for the reply, issue got fixed.