How can you apply a smooth brush to the whole landscape via Blueprints or C++ UE 5.1 Preview 2

Here is a video of what I am trying to accomplish. smooth unreal landscape via code - YouTube

In the brush size type something like 100’000 and then click once in the center of the map (the 8192 is just a slider limit, you can use higher values)

Does not work in UE 5.03 or 5.1. Even though you can type in 100000 it resets the size to 65,536. The brush size will not get any bigger than this regardless of the number.

Oh, I’m sorry, I thought there was no limitation (probably its’ set to 65536 because of a performance limitation).

Another approach that you could use is:

  • Exporting the Heightmap
  • Smoothing it in an image editing software (gimp, krita, photoshop)
  • Reimport the smoothed image

image

Yeah, I am already smoothing it. But because the artifacts are so low in height, I cannot smooth them enough without destroying the landscape. I really would like to figure out how to programmatically apply smoothing to the whole landscape inside of Unreal.

1 Like