22-01-2021, 09:12 AM
(This post was last modified: 22-01-2021, 09:12 AM by josemendez.)
(22-01-2021, 05:40 AM)taylorjames9 Wrote: Hi Jose,
Thanks for getting back to us. We've tried each one of your suggestions. I think the missing piece from my last post is that we're working in URP - which seems to be the source of our issues. Have you managed, or know anyone who has managed, to successfully get the Obi fluids working in combination with URP?
Thank you for your time.
Best Regards,
-James Taylor
Hi James,
The fluid renderer does work in URP, but is set up differently. The reason is that render passes in URP work in a different way and Unity's render callbacks (OnWillRenderObject, OnPreRender, etc) aren't called in SRPs.
The setup for URP is explained in the manual, first paragraph on ObiFluidRenderer:
http://obi.virtualmethodstudio.com/tutor...ering.html
Quote:Setting up fluid rendering is done in a slightly different way depending on which scriptable render pipeline you're using:
Built-in
Add a ObiFluidRenderer component to each camera you need to be able to render fluid.
Universal (URP)
Add a ObiFluidRendererFeature to your pipeline's renderer feature list.
The minimum URP version supported by the fluid renderer as of Obi 5.5 is URP 7.4.1.
As well as this video: