Physical Water Surface

@: What is the easiest way or best way to add foam on the edge where the water hits the landscape (i.e. like a beach). I have been trying a few different things and I just can’t get it right. 8-{

I am going through the documentation but I am probably being stupid. 8-{