Potion 2D shader with varying fluid level

Both shaders were made specially for sprites.

For first shader is enough only the main texture to make it work! The shader mask is responsible for limiting the edges of the fluid. You need to make a white visible part on a black background for your potion.

The liquid is not displayed on a transparent background only in the firs shader.

Second shader makes fake 3D liquid.