Flatting water areas in dem earth has been made quite easy by using a combination of the Poly Object, and the GeoReference tag.

The following shows how to use a Poly object to create a water mask, which you then embed into a GeoReference tag.


you can use any shader as a mask.