logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

Coding & Optimizing a Real-Time Fluid Simulation in Unity

AJTech has shared a couple of insightful tutorials showing how to leverage C# and Compute Shaders to set up a neat fluid simulation.

If you're interested in venturing into the realm of real-time fluid simulations but find yourself unsure of how to take the first step, here are a couple of great beginner-friendly tutorials that would serve as the perfect starting point.

Shared by Game Developer and Unity enthusiast Ajay from the AJTech YouTube channel, the two-part tutorial series explores the process of coding and optimizing a neat real-time fluid simulation in Unity using C# and Compute Shaders, special shader programs that run on the GPU, outside of the normal rendering pipeline, and can be used for massively parallel GPGPU algorithms or to accelerate parts of game rendering.

The first tutorial delves deep into the process of creating the simulation and explains how to work with Smoothed Particle Hydrodynamics, providing a basic understanding of how Unity's simulation tools work.

The second tutorial focuses more on optimization and on "making the fluid look cooler". You can check out both tutorials attached above or by visiting the AJTech YouTube channel.

And here are some more of the author's earlier tutorials:

In the future, Ajay also plans to release the third part of the fluid simulation tutorial series, dedicated to realistically rendering the fluid in a performant way, so we highly encourage you to subscribe to the author's YouTube channel so as not to miss any future updates.

Also, don't forget to join our 80 Level Talent platform and our Telegram channel, follow us on ThreadsInstagramTwitter, and LinkedIn, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more