Optimize mapgen noises.

master
vlapsley 2016-11-18 13:36:35 +11:00
parent c78ebc708c
commit 9fb8764855
2 changed files with 16 additions and 16 deletions

View File

@ -112,15 +112,15 @@ mgvalleys_np_massive_caves = 0, 1, (768, 256, 768), 59033, 6, 0.63, 2.0
# River noise -- rivers occur close to zero
# type: noise_params
mgvalleys_np_rivers = 0, 1, (512, 384, 512), -6050, 3, 0.5, 2.0
mgvalleys_np_rivers = 0, 1, (512, 512, 512), -6050, 5, 0.6, 2.0
# Base terrain height
# type: noise_params
mgvalleys_np_terrain_height = -10, 50, (1024, 512, 1024), 5202, 2, 0.7, 2.0
mgvalleys_np_terrain_height = -10, 100, (1024, 1024, 1024), 5202, 3, 0.7, 2.0
# Raises terrain to make valleys around the rivers
# type: noise_params
mgvalleys_np_valley_depth = 6, 4, (1024, 512, 1024), -1914, 2, 1.0, 2.0
mgvalleys_np_valley_depth = 3, 2, (512, 512, 512), -1914, 1, 1.0, 2.0
# Slope and fill work together to modify the heights
# type: noise_params
@ -128,7 +128,7 @@ mgvalleys_np_inter_valley_fill = 0, 1, (512, 256, 512), 1993, 6, 0.8, 2.0
# Amplifies the valleys
# type: noise_params
mgvalleys_np_valley_profile = 0.5, 0.3, (512, 512, 512), 777, 1, 1.0, 2.0
mgvalleys_np_valley_profile = 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0
# Slope and fill work together to modify the heights
# type: noise_params

View File

@ -43,10 +43,10 @@ local noises = {}
-- Noise 1 : Base terrain height (2D)
noises[1] = getCppSettingNoise('mg_valleys_np_terrain_height', {
offset = -10,
scale = 50,
scale = 100,
seed = 5202,
spread = {x = 1024, y = 512, z = 1024},
octaves = 2,
spread = {x = 1024, y = 1024, z = 1024},
octaves = 3,
persist = 0.7,
lacunarity = 2,
})
@ -55,25 +55,25 @@ noises[2] = getCppSettingNoise('mg_valleys_np_rivers', {
offset = 0,
scale = 1,
seed = -6050,
spread = {x = 512, y = 384, z = 512},
octaves = 3,
persist = 0.5,
spread = {x = 512, y = 512, z = 512},
octaves = 5,
persist = 0.6,
lacunarity = 2,
})
-- Noise 3 : Valleys Depth (2D)
noises[3] = getCppSettingNoise('mg_valleys_np_valley_depth', {
offset = 6,
scale = 4,
offset = 3,
scale = 2,
seed = -1914,
spread = {x = 1024, y = 512, z = 1024},
octaves = 2,
spread = {x = 512, y = 512, z = 512},
octaves = 1,
persist = 1,
lacunarity = 2,
})
-- Noise 4 : Valleys Profile (2D)
noises[4] = getCppSettingNoise('mg_valleys_np_valley_profile', {
offset = 0.5,
scale = 0.3,
offset = 0.6,
scale = 0.5,
seed = 777,
spread = {x = 512, y = 512, z = 512},
octaves = 1,