Hoimar / Planet-Generator

A procedural planet generator addon for Godot with terrain LOD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UV coordinates between different TerrainFace chunks/tiles don't match up

Hoimar opened this issue · comments

See screenshot below.
This might simply be due to the lower vertex density (which stretches the texture) but could also be caused by an error in the MinMax calculation where the colors / UV coordinates are defined. I'm not yet sure.
Though this is mainly visible in the editor but not as much when viewed from the camera.

Also visible is how the normals don't align where the edges meet, but that's a separate issue which will be fixed.

grafik

Fixed in 2f096b9, no UV seams anymore by precalculating terrain min and max height.
grafik

Closed #3.