Islands demo lightmap

Hello
I just wonder how lightmap of Islands terrain was created - it is underwater color I found interesting. How could it be achieved?

sorry of my English :wink:

Check out the WaterLightmapFog.js script in the Project folder.