]> git.lizzy.rs Git - minetest.git/commit
Add new Mapgen V7 floatland implementation (#9296)
authorParamat <paramat@users.noreply.github.com>
Thu, 14 May 2020 21:27:54 +0000 (22:27 +0100)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 21:27:54 +0000 (22:27 +0100)
commitaf0f7ac4a2032780eb731918c8fe9dc9e1262b5f
treed9183721f70ac537aef800c43fa18126db678a5a
parentd76785b4c70d834783d2e578086680941257cfa1
Add new Mapgen V7 floatland implementation (#9296)

Floatland structure is vertically-compressed 3D noise.
Uses a lacunarity of 1.618 (the golden ratio) for high quality
noise.
Floatlands appear between user-settable Y limits, with smooth
tapering at each limit.
Simple user-settable density adjustment.
Shadow propagation is disabled in and just below floatlands, no
shadows are cast on the world surface.
Can be reconfigured to create a solid upper world layer between
the Y limits, lakes/seas can be optionally added to this.
builtin/settingtypes.txt
src/mapgen/mapgen_v7.cpp
src/mapgen/mapgen_v7.h