Physically correct ocean material

Hi there!

Is there a way of setting up a physically correct ocean material that changes its color depending on dephts of surrounding geometry like islands and so on?
How should a material being set up correctly?

“Physically correct” is difficult due to the variations real ocean water has underneath. But the effects you describe can be done with VRayMtl’s fog.

Regards,
Thorsten