# Materials v2 — Water Open sea at golden hour seen from just above the waves, a sun path of glitter on the water and a camera that rises and sways. A ray is marched down to a height field built from dozens of travelling waves. Source: https://steevepommier.com/motion/materials-v2-water/ Section: Motion Published: 2026-11-11 Tags: shaders, 3d --- A choppy swell rolls towards a pale orange horizon under a pink-to-yellow sky, with a low white sun above it. The water is deep blue in the foreground and warm in the distance, and a narrow path of glitter runs from the horizon towards the viewer. The camera bobs and sways slightly, as on a boat, and the sea returns to its first frame at the end of each loop. The surface is a sum of travelling waves, each shaped as a sharp crest over a long flat trough, and each dragging the sample point of the next along its own slope, which bunches small waves on the crests. A ray is marched down to that height field and shaded with a Fresnel reflection of the sky over the water's own colour. Every wave completes a whole number of cycles per loop. Colours are exposed through a filmic curve.