Many games use marching cubes algorithm to create awesome-looking procedural terrains, that are also editable. We will begin with making a 3D grid of values, based on a Perlin noise, and then using marching cubes we will construct the mesh.
RESOURCES + CODE - https://github.com/Freedom-Coding/Mar...
B3AGZ Marching Cubes Tutorial - • How to Make 7 Days to Die in Unity - ...
👍 Like and 🔔Subscribe for More Unity and C# Tutorials / @freedomcoding
🌟 Support My Work and Unlock Exclusive Content! 🌟
👉 Patreon: / freedomcoding
🎮 Join Our Developer Community!
💬 Discord: / discord
💖 Support Me Financially
☕ PayPal, Revolut: [email protected]
Are you looking for a Unity/C# tutor? Contact me here - [email protected]
Website - https://www.freedom-coding.com
Timestamps:
00:00 Scene Setup
00:33 Heights Grid
06:55 Marching Cubes Explained
10:27 Mesh Setup
12:15 Disclaimer
12:40 Marching Cubes
14:45 Get Configuration Index
17:30 March Cube Function
21:43 RESULT!