Minor terrain texture tweaking

This commit is contained in:
Michaël Lemaire 2016-01-14 20:30:37 +01:00
parent 14143ee278
commit d1a5706f3e

View file

@ -80,7 +80,7 @@ void TextureLayerDefinition::applyPreset(TextureLayerPreset preset, RandomGenera
break;
case TEXTURES_LAYER_PRESET_ROCK:
terrain_zone->addHeightRangeQuick(1.0, 0.6, 0.7, 0.87, 0.95);
displacement_noise->setConfig(1.0, 0.4, 0.5, 0.85);
displacement_noise->setConfig(4.0, 0.3, 0.5, 0.85);
detail_noise->setConfig(0.02, 0.04);
material->setColor(0.6, 0.55, 0.57, 1.0);
material->reflection = 0.006;
@ -89,7 +89,7 @@ void TextureLayerDefinition::applyPreset(TextureLayerPreset preset, RandomGenera
case TEXTURES_LAYER_PRESET_GRASS:
terrain_zone->addHeightRangeQuick(1.0, 0.45, 0.5, 0.7, 0.9);
terrain_zone->addSlopeRangeQuick(1.0, 0.0, 0.0, 0.05, 0.4);
displacement_noise->setConfig(0.4, 0.05);
displacement_noise->setConfig(2.0, 0.05);
detail_noise->setConfig(0.01, 0.1);
material->setColor(0.12, 0.19, 0.035, 1.0);
material->reflection = 0.001;