Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Fluid renderer and World Space canvas
#2
(30-10-2023, 04:58 PM)Apoll0 Wrote: Hello!

I am using Obi fluid and today noticed that it is rendered over my world space canvas object.
I've checked with renderer enabled and particles don't touch the object. Only obi fluid renderer draws over it.
Build-in pipline, Unity 2022.3.12

White disk in the attachment pic -- on world space canvas

Hi,

Transparent objects need to be sorted back-to-front when rendering, since they don't use the depth buffer to discard fragments. Unfortunately, sorting fluid by distance to camera is not possible so it will either render always on top or behind. You might want to use a custom shader on your UI that does alpha clipping instead of blending, or change the fluid's render event. See:
http://obi.virtualmethodstudio.com/forum...ansparency

kind regards,
Reply


Messages In This Thread
RE: Obi Fluid renderer and World Space canvas - by josemendez - 31-10-2023, 09:46 AM