I’m currently working on a arctic-themed level in UE 5.3 and running into a frustrating issue with landscape layer painting.
When painting paths (or transitions between layers) on my landscape, the edges are very jagged and strictly follow the underlying vertex grid.
Landscape Component Resolution: 128x128 verts
Overall Resolution: 1906x1906
Component Count: 225 (1x1 subsections)
I tried going into the Landscape Manage mode to change the Section Size / Resolution using Resample (and tried Expand), but strangely, it had absolutely zero visual effect on the landscape grid or the jagged edges - everything stayed exactly the same as before.
I managed to fix this in my previous UE4 learning project, but forgot how and to document it. I only remember that i didn’t touch the landscape data itself in the past. Just some settings.
I also tried to search on Google, without any solution.
Does anyone know how to fix this? I’m a beginner, please keep it simple, if possible. I’ll not be able to understand professional levels of UE topics.
The jagged edge comes from how layers are stored: one weight per landscape vertex, so at the default scale a blend can only change every metre and follows that grid. Resample only resamples the weights you already have, which is why it changed nothing.
The fix is in the material. Switch the layers in your Layer Blend node to Height Blend and plug a height or noise texture into each layer’s Height input, so the edge follows the texture instead of the grid. For paths with crisp edges, a landscape spline with a road mesh or decals looks cleaner than painted weights.
When i was digging through Google, i figured out that someone used splines for the paths. I’ll consider that, although if the splines are bending, the paths would need enough edges, which would make the paths edgy too (but not jagged).
So i’d either do low poly with edgy paths, or medium poly with smoother paths, but that could be harder on the performance and would probably require LODs for the path itself.
Actually, i have thought about modeling paths with rims before, but i wasn’t sure about it, because i don’t have any experience with splines. I’ll give it a try.
I could just use a combined system: painted paths for prototyping, modeled paths for the final result.
Either way, maybe learning splines would be a good idea. Shouldn’t be too complicated.
@nalbantgokmen You solved it. Painting the paths stays a nuisance, but i’ve implemented some first splines with a tutorial. Looks way better. More detailed. I just hope the performance doesn’t suffer from it.
I also managed to soften up the edges of the painted paths, but i think i’ll stay with splines. They’re smoother.