Toon Beach Water Effect

Hi!

I’m working in a game project with toon style. There is a beach in this game, and I would like the sea be similar to this example: Unity3D Wind Waker #10 - YouTube.

I know I can generate waves using the function sin(v.x + time2pi) to the vertices of a plane, but my question is how do I create the effect of waves around the objects on water? also, how it could render the effect of the waves on the shore come and fade (foam in the waves)?

I would appreciate any help.

LoZ:WW had some pretty amazing effects for its time (in fact, still does to this day), and they’ve been examined in depth in places like Zelda: Wind waker Tech and Texture Analysis *picture heavy* — polycount

For the specific shoreline effect, you’d need a depth check, as discussed in http://forum.unity3d.com/threads/the-legend-of-zelda-wind-waker-styled-water.298724/