Terrain Jittery

Hello,

So I have a question regarding the heightmap resolution for the terrain. I noticed when the heightmap is increased the terrain becomes extremely jittery and the jitter cannot be smoothed out. In fact, smoothing it causes it to scatter which makes it worse. Shouldn’t the higher resolution on the heightmap allow for more detailed control and better collision, not worse?

What version of Unity are you using here? Also, are you using terrain tools package at all or just the tools in the editor?

Sorry, I should have included that originally.

Unity Version: 2021.3.4f1
Terrain Tool Version: 4.0.3

1 Like

Thanks! One last question, is this using a heightmap you imported?

No, it is not. The terrain is entirely generated / sculpted within Unity. It was version 2021.3.3 that it was sculpted. I don’t recall the “f” variant.

1 Like

Ok thanks for all the info. May take a few days but I’ll try and see what I can find out about this.

I may have narrowed down part of the problem. Before I upgraded versions I used the Terrain Toolbox => Utility => Split to take a bunch of large chunks into smaller chunks for general culling / performance reasons. It wasn’t until after I upgraded to Unity version 2021.3.4f1 that I had an issue. I was playing around with it a bit and noticed that if I increase the height and width of the terrain to a much larger scale the artifacting goes away.

  • Test Terrain 1 -
    Height: 62.5
    Width: 62.5
    Heightmap Res: 513
    Results: No Artifacting

  • Test Terrain 2 -
    Height: 62.5
    Width: 62.5
    Heightmap Res: 2049
    Results: Artifacting

Higher the heightmap is increased the worse the artifacting it. Lower the heightmap is a lot of sculpting detail lost.

There isn’t an easy answer to this one that I know of, and asking around the team hasn’t produced any answers either. If you’re able to reproduce this consistently, I’d recommend going ahead and filing a bug report so we can dig in and figure out what’s happening.

I’m seeing this same issue.

Windows
Unity 2021.3.0f1
Terrain Width 1000
Terrain Length 1000
Terrain Height 100

Heightmap Resolution 4097 x 4097

Changing the Heightmap Resolution to 513 x 513 pretty much fixes the issue but I’d prefer to have more control.