Underwater fog, half in and half out

Sorry that was a useless post - I mean the depth nodes I am sure I did something based on world pos with it but I can 't find the node - if I get a I’ll see if I can find it.