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.