I’ve assembled two game objects, one inside the other. I’ve given the outer object a glass-looking material, and the internal object a solid material
Assuming I don’t care about liquid physics or gravity, how would I change how much of the internal material I render?
I’ve got a percentage in code that I can easily reference, so assuming I give it a 50% value, I want the interior to only render half of that “liquid” starting from the bottom of the object.
Can someone help by telling me what I’ll need in order to dynamically change the level inside?
I can’t find what I need to crack this case. It doesn’t help that I know very little about Materials, rendering, shaders, etc.
I found a video that has a demo of what I want to do. I just don’t know how to get started.