From: Paramat Date: Sat, 21 Sep 2019 20:28:09 +0000 (+0100) Subject: Marram grass: Fix noise flags to make 2D noise 'eased' (#2493) X-Git-Tag: 5.1.0~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86a55d3584560e29d82575c6b43d6f19fbeb873f;p=oweals%2Fminetest_game.git Marram grass: Fix noise flags to make 2D noise 'eased' (#2493) Increase noise resolution from 4 to 2 nodes for a higher quality distribution. Retune noise parameters to compensate for using eased noise. --- diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 6d68afcf..a361f894 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -2348,13 +2348,13 @@ function default.register_decorations() place_on = {"default:sand"}, sidelen = 4, noise_params = { - offset = -0.4, - scale = 3.0, + offset = -0.7, + scale = 4.0, spread = {x = 16, y = 16, z = 16}, seed = 513337, octaves = 1, - persist = 0.5, - flags = "absvalue" + persist = 0.0, + flags = "absvalue, eased" }, biomes = {"coniferous_forest_dunes", "grassland_dunes"}, y_max = 6,