Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

3D Destructible Procedural Smooth Terrain

An asset by 50kush
The page banner background of a mountain and forest
3D Destructible Procedural Smooth Terrain hero image

Quick Information

0 ratings
3D Destructible Procedural Smooth Terrain icon image
50kush
3D Destructible Procedural Smooth Terrain

A basic demonstration of procedural smooth terrain generator implemented in Godot. It uses simplex noise and heightmap with ArrayMesh to generate varied and natural-looking terrain in real time, and allows for digging and modifying the terrain. The world generation is done in around 100 lines of code.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Godot 4 Simple 3D Smooth Destructible Terrain

A very basic demonstration of procedural terrain generator implemented in Godot. It uses simplex noise and heightmap with ArrayMesh to generate varied and natural-looking terrain in real time, and allows for digging and modifying the terrain. The world generation is done in around 100 lines of code.

README Preview

Features

  • Procedural terrain generation using simplex noise
  • Real-time terrain modification
  • Efficient chunk-based system for managing terrain
  • Cool terrain shader
  • Cool diamond pickaxe

How It Works

The terrain is divided into chunks of a fixed size. Each chunk's heightmap is generated using simplex noise. The noise parameters (frequency, octaves, lacunarity, and gain) can be adjusted to change the appearance of the terrain.

To manage memory and performance, only the chunks around the player are loaded. When the player moves, new chunks are generated and old chunks that are too far from the player are unloaded.

The terrain can be modified by "digging" into it. When a chunk is modified, it is regenerated to show the changes.

Usage

To use this project:

  1. Clone the repository.
  2. Open the project in Godot.
  3. Run the main.tscn

License

This project is licensed under the MIT License - see the LICENSE file for details.

A basic demonstration of procedural smooth terrain generator implemented in Godot. It uses simplex noise and heightmap with ArrayMesh to generate varied and natural-looking terrain in real time, and allows for digging and modifying the terrain. The world generation is done in around 100 lines of code.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
3D Destructible Procedural Smooth Terrain icon image
50kush
3D Destructible Procedural Smooth Terrain

A basic demonstration of procedural smooth terrain generator implemented in Godot. It uses simplex noise and heightmap with ArrayMesh to generate varied and natural-looking terrain in real time, and allows for digging and modifying the terrain. The world generation is done in around 100 lines of code.

Supported Engine Version
4.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers