Water foam

I have a low poly water shader but, I’d like the water to have a white edging like water foam in the ocean whenever it hits a collider. How would I do this?

You might want to look at the The Community Ocean Shader thread.

Which part of the shader should I be looking at?