Skip to content

Aurcereal/WaterSimulation

Repository files navigation

PBR Rendered Fluid Simulation


shortShowcase4.mp4

This is a realtime fluid simulation and renderer made in Unity. The features include

  • Particle-Based Fluid Simulation based on Smoothed Particle Hydrodynamics (SPH) run using Compute Shaders
  • Physically Based Raymarched Fluid Renderer written with HLSL
  • Physically Based Screenspace Fluid Renderer written with HLSL (faster than raymarched but not as accurate)
  • Particle-Based Foam Simulation for crashing waves run using Compute Shaders
  • Foam rendering using using volumetric raymarching or billboard sprites written with HLSL
  • Raymarched Rendered Caustics and Shadows
  • Screenspace Rendered Caustics and Shadows
  • Spatial Hashing and different GPU sorting algorithms to allow the simulation to run at high framerates

Demo Scenes


shortShowcase3.mp4
minQualityJellyShowcase.mp4
shortShowcase1.mp4
shortShowcase5.mp4
minQualityObjectMoveShowcase.mp4
foamShadowsCausticsShortShowcase6.mp4

Breakdown

Breakdown Video

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors