Skip to content

Commit

Permalink
[Terrain] Reduced smoothing to only 1 iteration since it still looks …
Browse files Browse the repository at this point in the history
…great and it maintains more detail
  • Loading branch information
PanosK92 committed Nov 29, 2023
1 parent 0cb233d commit f1d9e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/World/Components/Terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f1d9e1a

Please sign in to comment.