Smoothing Chunks of Terrain

Godot Version

4.5.1 Mac OS Stable

Question

Just started messing around with shader and procedural geometry, LOD , but face one interesting issue where I would like to stitch two meshes but not having clue how to do it .

In blender it’s possible to stitch two vertex by using G+G shortcut and drag it in direction of near vertex. but here it might be a little bit different because of count of vertexes during LOD

Example with wireframe render mode

@normalized @dragonforge-dev

You don’t need to “stitch” anything. If corresponding edge vertices of adjacent chunks have the same position and the same normal, there will be no visible seams.

1 Like

@normalized that worked, thanks

Some recommendation for parameters to make it good looking from first person view and not overload hardware ?

I found it very important to keep clipmap - distance lower then lod_step in global_shader

Also some tip to prevent error

  ERROR: servers/rendering_server.cpp:1207 - Condition "array_len == 0" is true. Returning: ERR_INVALID_DATA
  ERROR: scene/resources/mesh.cpp:1825 - Condition "err != OK" is true.
``` ?