yacine Simulates Air Pressure on a Gaming Rig With One C File and 5 Shaders

yacineMTB · x · 2026-12-06

yacineMTB demos an air pressure simulation running on an ordinary gaming rig: air pressure is simulated, but he still needs to figure out how to stop the fluid from collapsing and why so many particles are required for such little volume.

A follow-up reply adds implementation details: it uses Vulkan for the algorithms, and the whole thing is a single C file with about 5 shaders—so it should work on any gaming rig.

Related event: Yacine Runs Real-Time Fluid Simulation on a Gaming GPU, Saving Pretty Bugs Along the Way(3 posts)→

Original post →

More from Fun

Fun channel →