Hoimar / Planet-Generator

A procedural planet generator addon for Godot with terrain LOD.
Other
196 stars 23 forks source link

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

Closed Hoimar closed 3 years ago

Hoimar commented 3 years ago

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

Hoimar commented 3 years ago

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

Hoimar commented 3 years ago

Closed #3.