Yes, that's it! I have a wave effect shader that fills up the glass (applied to a white image in the shape of the glass, that I turn transparent in the shader to only see the "waves"). The filling and color values are outside parameters that I update directly in game script.