Open gregrylivingston opened 1 month ago
I meant to put this in a second PR but apparently didn't. This was partially resolved in https://github.com/alpapaydin/Godot4-3D-Smooth-Destructible-Terrain/pull/9
HOWEVER - on one side it sometimes bug out and sets the wrong height. I haven't quite figured that out. But it mostly works.
This is probably my last contribution at least until or if I intend to use this again.
Thanks for making this @alpapaydin and making it available so I could use it for a game jam <3
I made a quick fix which syncs changes to neighboring chunks, but the performance is not very feasible. What do you think? Also it remains to warp the shader to the neighboring chunks.
Significant improvement in behavior.
Still sometimes spikes upwards and still sometimes creates holes on corners but definitely improvement.
We had duplicate regeneration code so removing that fix it quite a bit.
With chunk holes removed chunk size can probably be dramatically reduced which would bigtime improve the performance of recreating these.
Originally posted by @alpapaydin in https://github.com/alpapaydin/Godot4-3D-Smooth-Destructible-Terrain/issues/4#issuecomment-2353195359