The new Three.js Water Pro v4 update is nearly feature complete! Enjoy a quick tour of the new island archipelago 🏝️
Getting the shorelines to look nice and not kill performance has been the hardest part.
The typical solution requires a computationally intensive shallow water solver. I found a way to bake most of the calculations to get around this and only use a very fast solver for the leading edge of the swash.
As an end user, all you need to do is register the terrain with a single function call and that's it. No drawing shorelines or anything.
Last remaining "hard part" is generating spray where the water hits the rocks.
