I created this ICE TEA. Now I'm after even more realism. I figured that the intensity of the liquid should be less, where the ice cubes are close to the glass, where the liquid is 'thinner'. How to achieve this effect?
Currently The liquid is Glass BSDF with IOR 1.33. I tried to subtract (boolean) the ice cubes from the liquid, to actually create the liquid thinner or thicker in certain parts. Only it gives a terrible geometry on the top surface of the liquid where the ice cubes stick out. I will probably have to model this surface manually, to get good geometry. But I figured I must do it, since I need thinner and thicker parts of the liquid. But even then, will it work?
I will be pleased also if you can advise me on other ideas how to make this ice tea more realistic. I'm thinking for instance bubbles along the top edge where liquid meets the glass. Anything else?
Edit: Ok, I used the Volume Absorption node. It works to some degree - the liquid seems brighter where the ice is. But now I want to put a gradient on the liquid, so that it goes from bottom of the glass to the top. At the moment I have a gradient going left to right. See my node setup. I suspect I have to feed the coordinates into the Vector plug on the Gradient node, I tried Vector Mapping node with various settings, but no success. How to change the coordinates of the gradient, so that it goes bottom to top?