r/GraphicsProgramming • u/nathan82 • Oct 10 '26
Mobile GPU Realtime Fluid Sim
The sim came out great but what about the lighting!! All just cubemaps, with fluid depth affecting the roughness mip level. So happy with this.
950
Upvotes
View all comments
Show parent comment
13
u/nathan82 Oct 10 '26
Mostly based on this paper as a starting point: https://yzhu.io/publication/mpmmls2018siggraph/paper.pdf
The optimisations were mainly around scaling the cell size intelligently, for the right performance/resolution balance. And some bit packing in the particles. Also dynamically adjusting the number of sim steps depending on frame budget. I'll try to answer if you have specific questions but this is a commercial app so I don't want to give too much away.