Godot 4 Procedural Generation Project

A small Godot 4 project showing how you can create procedural landscapes using noise. Download the project here or over on Github. This is a pretty simplified method of generating procedural landscapes. One of the examples is only 50 lines of code. This is a great example for beginners looking to get into proc gen.

GDExtension Update:

I turned the 3D example into a GDExtension. Sample project is included, as well as just the extension itself. The extension works by making landscape "chunks".  The main node you'll use for the extension is named Proc. Proc options are:

  • The row and column settings allow you to choose how many chunks are made.
  • Indices distance is the distance between indices in the created mesh.
  • Max height is the maximum height of the landscape
  • Height exponent sets max height to the power of this value
  • Detail is how the noise is scaled to the landscape
  • There's an option to generate navigation on the procedural mesh as well
  • Terrain material is the material to apply to the landscape
  • Noise Texture allows you to set the noise that will be used for generation

*Assets used:

*Please get the assets from the creators if you use them in your projects, and if you do use them, maybe consider leaving them something for their efforts.

StatusReleased
CategoryTool
PlatformsHTML5
AuthorRancidMilk
Made withGodot
Tags2D, 3D, Godot, Procedural Generation, project
Code licenseMIT License
Asset licenseCreative Commons Zero v1.0 Universal
Average sessionA few seconds
LanguagesEnglish
InputsMouse

Download

Download NowName your own price

Click download now to get access to the following files:

GodotProject.zip 11 MB
GDExtension.zip 166 kB
GDExtensionProject.zip 21 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.