08-05-2020, 03:08 PM
(This post was last modified: 08-05-2020, 03:08 PM by josemendez.)
(08-05-2020, 02:52 PM)Guybrush Wrote: I tried but I need to remove the water when something interact. In the video you can see that the fluid disappears and then come back. With a 2d ripple effect I think that I can't achieve that...
You could simply draw the interacting objects to a mask/stencil buffer, and generate ripples only outside of the mask. Or you could force the water "height" to zero inside the mask. Most 2D wave effects allow for something similar to this, it's pretty easy to achieve, and much more performant than particles.