Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Marching Cubes terrain implementation in Unity using the Job System and the Burst compiler

License

Notifications You must be signed in to change notification settings

Eldemarkki/Marching-Cubes-Terrain

Repository files navigation

Marching-Cubes-Terrain

This is my implementation of the Marching Cubes algorithm using Unity.

Demo video: https://www.youtube.com/watch?v=7GrKaSCoyvs

Discord Server: https://discord.gg/tKhNq7sCYu

Features

  • Unity Job System with the Burst Compiler
  • Realtime terrain editing
  • Smooth the terrain by holding the left ctrl key and left click
  • Two world types:
    • Procedurally-generated infinite world
    • Import from black-and-white heightmap texture

System Requirements

  • Unity3D (I'm developing this project with version 2019.3.0f6, but any newer version should also work)

Setup

  1. Clone the repository with git clone https://github.com/Eldemarkki/Marching-Cubes-Terrain.git
  2. Open the project with Unity

Contributing

All contributions are welcome.

When creating a new issue, please describe the bug in as much detail as possible, and include the branch and commit id where the bug happened. If applicable, also include screenshots.

Acknowledgements: