GeoGen Script reference
tepui.ggs
metadata
{
Width: Finite,
Height: Finite,
Name: "Tepui",
Description: "Mountain with extremely steep mountainsides and almost flat top.",
Author: "Matěj Zábský"
}
var lowland = HeightMap.RadialGradient(@[0.5, 0.5], Parameters.MapWidth * 0.44, 1, 0)
.Blur(50)
.Add(0.2);
var highland = HeightMap.Noise(CreateNoiseLayers(256), 3)
.Multiply(0.1)
.Add(0.9);
var mask = HeightMap.RadialGradient(@[0.5, 0.5], Parameters.MapWidth * 0.4, 1, 0)
.Blur(50)
.Add(0.4)
.CropHeights(0.7, 1, 0)
.CropHeights(0, 0.7, 1)
.Blur(5);
var main = highland.Combine(lowland, mask);
yield main;