Water depth World Based

Is there a way to make it dynamic ?