Check out this project on the Resources Site... ;-)
"WDLs and Scripts/ Water and Shadows"

http://www.opserver.de/coni_users/web_users/pirvu/au/scripts/waterandshadows.zip