Foam is done with a couple of layered bitmaps with different scales. Ocean motion is a combination of Wind Deformers and the Hot4D plugin by Valkari. Rendered with the C4D Physical render.