Maybe instead of a plane for the water, you could use a custom mesh (like the one in the 'flag.bb' example) ? The advantage would be, that you could set the texture coordinates for each triangle.
You could then set up the foam as a second texture layer, with it's own TexCoords, and then use PositionTexture to move it.
You could then set up the foam as a second texture layer, with it's own TexCoords, and then use PositionTexture to move it.