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: If you’d like to support me in creating more videos, I have a Patreon page over here: Have a look at these videos if you’re interested in learning about how the atmosphere and clouds were created: Atmosphere: Clouds: Chapters: 0:00 Intro 1:05 Marching Cubes Algorithm Refresher 2:32 Looking at the Code 3:42 Making a Sphere! 4:53 Floating Rocks 7:20 Chunk Woes 9:48 The Mistake 11:31 Terraforming is Easy! 12:26 A Simple Water Shader 16:28 Adding Atmosphere 17:30 Some Fluffy Clouds 18:54 Terrain Colouring, and Sticky Lights! 20:23 The Expedition 21:23 Outro Music: Heart Calligrap
Back to Top