- Home /
Job-simulator-like liquids
How do you think Job Simulator does its liquids?
Imagine a model of a translucent empty glass cylinder.
An easy way to model a liquid inside is to just use a liquid-colored cylinder whose y-scale depends on the height of the liquid.
The problem with that approach is that once you tilt the glass, the top of the cylinder will also tilt, and not react like water in a glass under gravity.
I thought about using some sort of depth masking, but I can't figure out a way that could work.
Any ideas?
Thanks in advance!
Your answer
Follow this Question
Related Questions
Creating a Masking Object with Variable Pass Through 0 Answers
Force a custom surface shader to not compile a deferred pass? 0 Answers
Object see-through when rendering mode is set to Fade 1 Answer
Cutting hole in water plane using stencil buffer.Help making it visible from both sides. 0 Answers
Problems with Graphics.DrawMesh, where to call it and how to get material property blocks to work. 3 Answers