WebGL Water (2010)

May 10, 2025 - 02:00
 0  0
WebGL Water (2010)

WebGL Water

Made by Evan Wallace

This demo requires a decent graphics card and up-to-date drivers. If you can't run the demo, you can still see it on YouTube.

Interactions:

  • Draw on the water to make ripples
  • Drag the background to rotate the camera
  • Press SPACEBAR to pause and unpause
  • Drag the sphere to move it around
  • Press the L key to set the light direction
  • Press the G key to toggle gravity

Features:

  • Raytraced reflections and refractions
  • Analytic ambient occlusion
  • Heightfield water simulation *
  • Soft shadows
  • Caustics (see this for details) **

* requires the OES_texture_float extension** requires the OES_standard_derivatives extension

Tile texture from zooboing on Flickr

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0