I will teach you a simple way to procedurally generate terrains in Unity. First, we will create a mesh with a grid, then we will use Perlin noise to make it bumpy and lastly, we will create a shader that will set the color of individual pixels of the terrain based on the gradient in which we specify the height for each "biome".
CODE - https://github.com/Freedom-Coding/Pro...
👍 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
Brackeys Tutorial - • PROCEDURAL TERRAIN in Unity! - Mesh G...
Sebastian Lague - • Procedural Landmass Generation (E01: ...
Timestamps:
00:00 Procedurally Generated Terrains
00:22 Creating Mesh
01:05 Adding Vertices
03:11 Setting Triangles
06:31 Bumps - Perlin Noise
08:37 Lightning Fix
08:56 Noise Offset
09:31 Mesh Result
09:41 Color Shader Setup
11:38 Converting Gradient To Texture
14:25 Shader - Color Based On Height
16:27 FINAL RESULT