Water Shader

Depth based water shader made for a project at Auroch Digital. Created using Amplify Shader Editor.

Key features include:
- Depth based water transitions using colour & depth buffer
- Distance based transitions fade out elements & reduce visual noise when viewed from a distance
- Distortion to mimic refraction
- Vertex offset waves
- Depth based edge foam
- Reflections from cube maps
- Ambient lighting from skybox
- Specular highlights based on the main directional light in the scene