Water body river: fix jagged edges

Hi everyone. I’m creating a river in my landscape. The landscape is loaded from a heightmap, that has river beds already traced, so I don’t want the water body river to affect the landscape. However, you can see the result in the pic: some nasty edges form up when trying to fit the river in the river bed.

I’ve been fiddling with every setting in the river, including width in the spline points, but it doesn’t work. The issue seems to happen only when there’s a deep slope in the river bed, let’s say > 25 degs.

Any suggestions?
Thanks

I have the same, I trying solve, if I have success I will share here.

I solve my problem using 4033 for my landscape, 2017 cause some problem to water material, try increase your landscape resolution, smooth river areas too, and increase a river width in the water spline componente

Mmm… I don’t know. Increasing resolution increases resource usage as well. Not sure it’s the right solution, but I’ll try anyways. Thanks!

Its not.
You need to make meshes for it.
Either fixed or procedural.

Best way is likely to export the landscape as a mesh, work on making endcaps for the affected zones, and importing them in for usage.

The caps should probably dig into the map itself and the seam they create either has to be covered up by a creative use of world aligned texturing on both landscape and mesh, or objects like rocks and debrie.

Its pretty much the same situation with any rock-face or steep enough mound.

1 Like

Sounds a bit complicate for me and not worth the time. I’m a solo dev and I don’t have too much experience in hacking things. So my solution so far is simple: I try my best to fill the gaps by modifying width and depth of the river. The result is pretty good as long as there’s enough room for the river mesh and spline curves are not too angled. As a second step, I add rock meshes to fill the gaps between the river banks and the water. Takes a lot of time, because I have 2 deltas of 8 rivers flowing from 2 big lakes, but the result is pretty good.

Hope this helps someone with the same problem.

I was having this problem with a project I created in Unreal Engine 4 and migrated to Unreal 5. I realized that when I created a new project for testing, I didn’t have this problem with the river’s body of water. So I went to my project that I had created in Unreal 4 and created a new level. In this new level, the river was perfect.

Project created in unreal engine 4 and migrated to unreal 5:


The same project created in unreal engine 4 and migrated to unreal 5 with level created in unreal 5:

Thank you @Carlus10000 That is an excellent find. I was wondering about this with water in mine. This will be helpful for the community. We appreciate you posting it!

Somehow, call me crazy, I don’t think “use an engine everyone knows not to use because its a mess that doesn’t work” is an acceptable alternative for most folks…