white water, breaking waves effect


i have been disecting the water in the island demo and trying to recreate it and i have pretty much don it apart from the white water effect along the shoreline where the waves are breaking.

can anyone advise on how to achieve this effect as i have run out of ideas

thanks in advance.

The island water demo is open source and easy to look if you have the Pro version.

It uses an extra texture that defines all borders of the islands. Just simple gray scales. This extra texture looks up if there is a wave needed. If so, use ANOTHER texture with the waves on it and do some automagical function for little foam waves with sines. (Haven’t looked into the shader itself).