G

Game Development

Unity, Unreal Engine, Godot, and indie game dev

Coding Adventure: Terraforming

I got a bit tired of my simple heightmap-based planets and decided to experiment with generating them using the Marching Cubes algorithm instead, so that I could add a 'terraforming' ability for shaping the world with caves and tunnels and so on. I hope you enjoy! Project files are available here: ...

Watch on YouTubeadded 17 March 2026

Key moments

  1. 0:00Intro
  2. 1:05Marching Cubes Algorithm Refresher
  3. 2:32Looking at the Code
  4. 3:42Making a Sphere!
  5. 4:53Floating Rocks
  6. 7:20Chunk Woes
  7. 9:48The Mistake
  8. 11:31Terraforming is Easy!
  9. 12:26A Simple Water Shader
  10. 16:28Adding Atmosphere
  11. 17:30Some Fluffy Clouds
  12. 18:54Terrain Colouring, and Sticky Lights!
  13. 20:23The Expedition
  14. 21:23Outro

Chapters by Sebastian Lague

Sign in to add a comment

Other Coverage

Related Videos

Did you find what you came for?