Waves Transparent

My water works great for transparency dependent on how close it is to the island but making the shoreline transparent has made my waves also transparent only when looking at the sky
Example:


My Nodes:

fix it myself

what was your solution?