20-12-2020, 08:04 PM
Not sure if this is related the the previous problem, but I just ran into another issue relating to world-space canvases. Fluids seem to render in front of any world-space UI, even if they are physically behind it:
This was made by creating a new URP project, importing Obi and opening the FluidViscosity sample scene, and adding a button with a world-space canvas positioned between the camera and the fluids. I added an ObiFluidRendererFeature with the default settings and removed the ObiFluidRenderer component from the camera.
(Unity 2019.4.15f1, URP 7.5.2, Obi Fluid 5.6.1)
Is there some setting I need to enable for this to sort the rendering order correctly, or is this a bug?
This was made by creating a new URP project, importing Obi and opening the FluidViscosity sample scene, and adding a button with a world-space canvas positioned between the camera and the fluids. I added an ObiFluidRendererFeature with the default settings and removed the ObiFluidRenderer component from the camera.
(Unity 2019.4.15f1, URP 7.5.2, Obi Fluid 5.6.1)
Is there some setting I need to enable for this to sort the rendering order correctly, or is this a bug?