Water Shader (want to make a toon style)

Well, i dont need waves as much as I just want the whitecaps that touch the shoreline. This one guy had an entire texture (landscape) that did it based off of height. I thought about doing that… but it was just so complex and had minimal info I couldnt replicate it. I also dont need dynamic shore detection because the shoreline wont change, I just need a method for getting the whitecaps to touch the shoreline. What I have right now is actually not bad, I am going to remove the normal map for the waves and make it all smooth, I just need to figure out the other ****. Maybe even get my ideas a bit more fleshed out so people like you could help me :stuck_out_tongue: Thanks again for the quick responses.