Here's a really cool way of creating a nice stylized water with foam! Foam will be applied in anything that intersects with the water.
Shader available here: https://www.patreon.com/posts/23328203
Thanks & Enjoy!
Unity Shader Graph - Cartoon Water & Foam Shader Tutorial