Home > Demos > WebGL Water Simulation

WebGL Water Simulation

User Rating:
Not rated
Be the first!
Price: Free

A pool of water rendered with reflection, refraction, caustics, and ambient occlusion.

Screenshots

WebGL Water Simulation Screenshot

Description

A pool of water rendered with reflection, refraction, caustics, and ambient occlusion. The pool is simulated with a heightfield and contains a sphere that can interact with the water's surface. This demo will only work on WebGL implementations with graphics cards that support floating point textures, screen-space partial derivatives, and vertex texture fetches.

Features:

  • Raytraced reflections and refractions
  • Analytic ambient occlusion
  • Heightfield water simulation
  • Soft shadows
  • Caustics

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

Videos

Your rating

User reviews

Be the first to write a review!

Full specifications

Visits34
CategoriesDemos
LanguagesEnglish
RegistrationNot required
Installable Apps-
Mobile-friendly-
API-
Widget-
Open-source+
Source code https://github.com/evanw/webgl-water
PublisherEvan Wallace
Date added/updated06.25.2025
REPORT A PROBLEM

More apps to consider

© 2010-2025 Pothos    Privacy Policy
Language
Language
About Us
About Us
Google Chrome App
Google Chrome App
Contact Us
Contact Us
Submit Application
Submit Application