Skip to content

doklem/land-shaper

Repository files navigation

Land Shaper

Build Status

A terrain generator.

LandShaper

Getting Started

Try out the demo or have a look at the wiki, if you want to know more about its controls.

Scope

A developer's pet project to learn the nooks and crannies of WebGPU.

Tech Stack

A web application written in TypeScript and WGSL, which uses ThreeJS, WebGPU and webpack.

Architecture

It uses procedural noise in the form of the 3D Simplex noise posted on Shadertoy by Nikita Miropolskiy to create the basic displacement texture. Further refinement is possible with thermal erosion derived from Axel Paris's explanation as well as hydraulic erosion based upon the droplet approach featured by Sebastian Lague of Coding Adventure on YouTube:

alt text

The normal- and diffuse-texture as well as the instanced object transformation matrices and colors are derived from the final displacement texture.

Acknowledgements

About

A terrain generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages