Interpolating Marching Squares And Cubes In Unity

Опубликовано: 03 Ноябрь 2023
на канале: Freedom Coding
1,374
41

Marching squares and marching cubes algorithms can be used to create nice-looking terrains, caves, physics simulations, and much more. Today I will teach you how to interpolate marching squares and also how to interpolate marching cubes in Unity using C#. That will cause the surface to be much smoother even at low resolution.

MARCHING SQUARES CODE - https://docs.google.com/document/d/1T...
3D NOISE ASSET PACK - https://assetstore.unity.com/packages...

👍 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 How Interpolation Works
00:27 Interpolating Marching Squares
04:06 Marching Squares Result
05:10 Interpolating Marching Cubes + 3D Noise
08:06 Marching Cubes Result