Hi Crumply,
the mtlFx.c shader library has some nice watershader ready to use. Just look in there what you need and how you get it done.

Regards,
- Christian