/UnityTutorials-NoisesProceduralGeneration

The code for a short tutorial on how to use math noises to generate heightmaps procedurally and apply them on terrains in Unity/C# (in text or video format).

Primary LanguageC#MIT LicenseMIT

[Unity/C#] Noises for Procedural Generation

Mina Pêcheux - July 2021

How can we use mathematical noises to generate heightmaps procedurally and apply them on Unity 3d terrains? Let's discover more in this video/text tutorial: "How to use mathematical noises for procedural heightmap generation in 30 minutes" :)

You can read it in text format on Medium, or watch it on Youtube.

thumbnail

In this 30 minutes-tutorial, I'm discussing the Perlin noise, Unity 2d textures, terrain objects and the Immediate Mode GUI (IMGUI) to create a basic small-sized noise-based heightmap exploration engine!

This Github repo contains additional resources to go further:

  • various noise algorithms
  • an improved manager to tweak even more parameters
  • a basic GLSL shader to show the level curves on the terrain

demo