Shallow Water

This project is a shallow water simulation done in WebGL, using modified shallow water equations. The PDEs were solved using finite difference approximation with GPGPU. Ray marching was used to render the implicit surface with emphasis on refraction, while caustics were achieved with photon mapping.

Click here to try it out live!