You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be pretty cool if we could add liquids that flow around and react to gravity. These could be common in platformer games like lava or just water.
Agreed! Tricky part is implementation.. What you can do now is to fake it by using lots of small circles together with some fluid like rendering on top. When I tried something like this a long time ago I wrote a metaballs shader in pyglet with lots of little circles. Worked quite well for what I think you are after, the biggest bottleneck is performance I think.
Activity
[-]Liquids[/-][+]Adding Liquids[/+]viblo commentedon Jul 26, 2022
Agreed! Tricky part is implementation.. What you can do now is to fake it by using lots of small circles together with some fluid like rendering on top. When I tried something like this a long time ago I wrote a metaballs shader in pyglet with lots of little circles. Worked quite well for what I think you are after, the biggest bottleneck is performance I think.
eschan145 commentedon Jul 26, 2022
They would take density for parameters so you could know how much they flow around objects.