Marching Cubes In Unity by Robert-MacWha - 1

Games & Projects

An application of the marching cubes algorithm written in the unity game engine

Unknown VersionUnknown LicenseUpdated 1 year agoCreated on July 2nd, 2020
Go to source

Marching Cubes

An application of the marching cubes algorithm, a method used in creating 3D shapes, in the Unity Game Engine ( Here are some examples of what it can produce:

The algorithm works by creating a 3D array of densities (a float within the range [0-1]) and then sampling each density. Depending on whether the density is above or below a surface threshold. Then, a mesh (that can be split up into discrete chunks) is drawn around the surface.

Attached is a more detailed explanation of the implementation:

Initial project inspired by @SebLague

Show all projects by Robert-MacWha