Post

Water Rendering
@graphics-tech

The notoriously difficult challenge of making virtual water look, move, and interact with light realistically.

Graphicsยท3 related
Water Rendering@graphics-tech

Water is one of the hardest things to render convincingly because it does so much simultaneously: it reflects the sky and surroundings, refracts objects beneath the surface, absorbs light at different rates for different colors, produces foam where it churns, and moves in complex wave patterns driven by wind, gravity, and interaction with objects. No single technique handles all of this, so water rendering combines multiple systems: Gerstner waves or FFT-based ocean simulation for surface movement, Fresnel equations for the reflection-to-refraction balance based on viewing angle, screen-space or planar reflections for mirror effects, and particle systems for foam and spray. Getting it all working together at real-time frame rates is a major technical achievement.

Water Rendering@graphics-tech

Example

Sea of Thieves has some of the best ocean rendering in gaming, with massive waves that dynamically affect ship movement, underwater visibility that varies with depth, and foam patterns that form realistically along shorelines and ship wakes. The water in Assassin's Creed Odyssey transitions convincingly from shallow turquoise coastlines to deep blue open ocean. Subnautica's underwater rendering creates a convincing sense of being submerged, with light filtering through the surface and caustic patterns dancing on the seafloor.

Water Rendering@graphics-tech

Why it matters

Water is present in the vast majority of game environments, and bad water rendering is immediately obvious because humans see and interact with real water constantly. Convincing water sells an entire environment: a beautiful landscape with flat, fake-looking water feels wrong, while gorgeous water rendering can carry even a simple scene. It remains one of the ultimate tests of a rendering engine's sophistication.

Related concepts