[Community Project] WIP Weather & Water Shader

First of all, holy moly is and thank you and who worked on it so much for providing it.

Secondly, I’ve spent about 8 hours trying to develop an water system that works similar to what you can see in asset (photo below). The simple solution I came up with is use a transparent material with depth fade to create the foam on the shore effect. But the problem I’ve come across is I can’t have multiple world position offsets. What means is I can’t have the shore have smooth water, while deeper into the the waves be more rough.

Based on the asset here I see it can be accomplished, but I’m looking for a simpler solution for a more stylistic game. Is there any way to achieve ? Here’s an example of what I mean: http://i.imgur.com/uhyYne5.png

Thanks in advance for anyone that might know the solution.

Also, how do you handle off-screen reflections? Is that through the Planar Reflection?