This is an implementation of this paper from Simon Green (NVIDIA): https://developer.download.nvidia.com/presentations/2010/gdc/Direct3D_Effects.pdf
It also features a basic fluid simulator in some of the demos.
Link to the demo: https://popov72.github.io/FluidRendering/dist/index.html
Link to the demo doc page: https://github.com/Popov72/FluidRendering/wiki/The-demo
Link to the fluid rendering doc: https://github.com/Popov72/FluidRendering/wiki/Fluid-Rendering-with-Babylon.js
To run the demo on your local computer
npm install
to install the needed dependencies.npm start
npm run build
if you want to build the dist files locally