I am using dynamicterrain to generate a terrain from heightmap and am interested in the functionality of infinitely scrolling my terrain along the X axis which the dynamicterrain supports by default. The problem is that the way it currently works, there is a really ugly seam between each tile as can be seen in the following picture: https://i.imgur.com/t8NFoSd.png
Anyone got any idea how I should approach this challenge? Basically I need a terrain from heightmap that needs to tile seamlessly along the X axis.
I just notice, for the first time, that I also get this ugly seam when flying towards north on the ice floe (let the jet go alone) in this demo : BabylonJS Flight Simulator
Any input how I could solve it on my own in the mean time?
Should I ditch dynamic terrain and just try to tile it with normal create terrain from heightmap function? I don’t wanna get stuck on this problem so I need to find a solution
Anyone else ever done something like this? I wonder if there’s any example code that could help me understand a way forward with this. Or should I ditch heightmap and generate the terrain procedurally (does that work with dynamicterrain to make infinite scrolling terrain without seams?).
Actually, I think I know how it could be fixed, by adding some hidden points to hold the missing UVs in the ribbon geometry.
This is quite complex but should solve the problem. I’ll have a look in the next weeks.
That’s great! To motivate you to look into it, I would gladly offer a reward of $50 in BTC for your efforts should you find the fix for this in the next week!
That’s okay, I will go forward and use dynamicterrain and just ignore the seam for the moment with the hope it will get fixed by the time I have finished it and want to release my project. No pressure