Marching Squares Algorithm || Unity & C#

Published: 13 October 2023
on channel: Freedom Coding
1,228
26

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: marek.freedom.coding@gmail.com

Are you looking for a Unity/C# tutor? Contact me here - marek.freedom.coding@gmail.com
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


On this page of the site you can watch the video online Marching Squares Algorithm || Unity & C# with a duration of hours minute second in good quality, which was uploaded by the user Freedom Coding 13 October 2023, share the link with friends and acquaintances, this video has already been watched 1,228 times on youtube and it was liked by 26 viewers. Enjoy your viewing!