From f1d9e1a7c3caa573da67556c3af78c167bd991d4 Mon Sep 17 00:00:00 2001 From: Panos Karabelas Date: Wed, 29 Nov 2023 17:30:40 +0000 Subject: [PATCH] [Terrain] Reduced smoothing to only 1 iteration since it still looks great and it maintains more detail --- runtime/World/Components/Terrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/World/Components/Terrain.cpp b/runtime/World/Components/Terrain.cpp index c890368ee..537318bb5 100644 --- a/runtime/World/Components/Terrain.cpp +++ b/runtime/World/Components/Terrain.cpp @@ -72,7 +72,7 @@ namespace Spartan // smooth out the height map values, this will reduce hard terrain edges { - const uint32_t smoothing_iterations = 2; + const uint32_t smoothing_iterations = 1; const uint32_t width = height_texture->GetWidth(); const uint32_t height = height_texture->GetHeight();