How to Render a Fluid behind a 2D object - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: How to Render a Fluid behind a 2D object (/thread-760.html) |
How to Render a Fluid behind a 2D object - p3gamer - 22-11-2018 I am trying to fill a glass container (2D) and also have a label that sits in front of the fluid (ie. soda bottle with a label). The issue is that the fluid is being rendered over the label even when I move the label closer to the camera (ie. change z position). I am using sprite renderer objects with sorting layers (ie. 1 = bottle, 2 = label), if that helps. UPDATE: I had to adjust the main camera's clipping planes which seemed to work. |