15-03-2022, 11:05 AM
Hi again,
Been testing VFX graph and ObiFluid integration in URP, and sadly VFX graph does not play nice with *any* transparent objects in URP. Particles are drawn on top/behind other objects depending on the camera position relative to the effect pivot.
https://issuetracker.unity3d.com/issues/...1518523487
A workaround is to change the fluid renderer's render pass event. Open up ObiFluidRendererFeature.cs, and change all instances of RenderPassEvent.BeforeRenderingTransparents + 1; to just RenderPassEvent.BeforeRenderingTransparents;
That should get VFX particles rendered on top of fluids.
Been testing VFX graph and ObiFluid integration in URP, and sadly VFX graph does not play nice with *any* transparent objects in URP. Particles are drawn on top/behind other objects depending on the camera position relative to the effect pivot.
https://issuetracker.unity3d.com/issues/...1518523487
A workaround is to change the fluid renderer's render pass event. Open up ObiFluidRendererFeature.cs, and change all instances of RenderPassEvent.BeforeRenderingTransparents + 1; to just RenderPassEvent.BeforeRenderingTransparents;
That should get VFX particles rendered on top of fluids.