is there a way to add foam around an island?
I achieved the following result.  Apologies for the &quot;before&quot; shot, it's the only thing I have:

I have this &quot;gulf&quot; scene where my beaches are just planes sticking into the &quot;ocean&quot;.  That's a plane with a big Ocean modifier and a 20m Solidify modifier.

What I found was that in your ocean's node tree you can use an Ambient Occlusion node set to Inside and that appears to make it aware of intersections through the final mesh after all the modifiers are calculated.

I used various methods to add noise to this and used it as the factor of a Mix Shader for the surface material.