Unity has some very good standard water, which is probably why you don’t see so many water packages around. However, the standard water is very complex and as such is very difficult to modify. I wanted a more cartoony look, so I made this.
The edge foam is based on screen depth texture, and thus dependent on viewing angle, so it won’t work in every scene. If you know a better way to render the foam I’d be glad to hear it.