Skip to content

Antonhejhejhej/FireSimulation

Repository files navigation

FireSimulation

Eulerian fluid sim in Unity adapted to look like fire. Part of bachelor's thesis.

FireSimBox FireSimRabbit2

Based on this fluid sim by Justin Hawkins: https://github.com/Scrawk/GPU-GEMS-2D-Fluid-Simulation

Adapted according to this paper by Martin Guay, Fabrice Colin and Richard Egli: https://martinguay.net/GPU%20Fluids/ScreenSpaceFire.pdf

The 3D models are also rendered with a separate camera using a different material which then acts as 'fuel' for the fluid simulation. The simulation runs as a series of shaders to enable reading and writing to textures. This is a solution for rendering 3D-looking fire in a 3D setting using 2D fire simulation.

KameraJämför

About

Eulerian fluid sim adapted to look like fire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published