Marching squares is a versatile algorithm, used for procedural terrain generation, physics simulations, and more! It enables you to draw noise contours, making it possible to add features such as caves!
CODE - https://docs.google.com/document/d/1z...
👍 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 What Are Marching Squares?
00:56 Square Configurations
03:36 Noise - Float Array
05:54 Visualising Noise
08:38 Updating The Result
09:40 Creating Mesh
11:23 Marching Squares
14:04 Marching Square Function
20:05 Final Result