Game Developer Cyan demonstrated a beautiful water shader and explained how it was made.
Game Developer and Tutorial-Maker Cyan, known for creating marvelous Unity-made shaders, showed yet another amazing project. This time, the developer has set up a beautiful coastline water shader that strongly resembles water from various Japanese video games. According to the author, the shader was created by reconstructing the world position from the depth texture and using the Y-axis of this reconstructed position in a sine function to produce the waves.
Here's a short breakdown released by Cyan that explains how the shader was created in more detail: