george7378 / chunked-terrain

Dynamic, unlimited, procedural terrain demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chunked-terrain

For a similar terrain system which uses quadtrees, check out this project.

Chunked Terrain is a C#/MonoGame program demonstrating a chunked procedural terrain algorithm which can be used to render very large-scale worlds.

As you move around the terrain, the world will update dynamically to ensure that geometry is only shown where it's needed. The scene is built using deterministic noise which can be modified by changing the parameters in the code. There is also a water plane which adds a bit of variety to the landscape, and the simple procedural forests add some decor to the world.

You can explore using the mouse and keyboard. When the program starts, there may be a few seconds of delay while the terrain loads in for the first time. The C key toggles whether the camera is attached to the mouse, and the Space key will allow you to walk across the landscape or fly through the air. You can use the WASD keys to move around.

Sitting under a tree and reflecting Forests, water and sunlight Some calm lakes Peaceful islands

About

Dynamic, unlimited, procedural terrain demo

License:MIT License


Languages

Language:C# 79.9%Language:HLSL 20.1%