Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Liquid is rendered on top of other objects on iOS
#8
(04-02-2022, 10:59 AM)angecroft Wrote: I've been able to reproduce this with iPhone 12 Pro, iPhone 11 & iPhone X. iOS versions : 15.3, 15.2. Yes I use Metal as the graphics API.

As you can see in my previous picture, only the flying object is occluded by the fluid (but shouldn't) whereas the controller is normally rendered on top of Obi Fluid. Both objects uses the same opaque shader. The only difference is that the controller is on the rendering queue 996. I've already tried to use the same for the flying object but unfortunately it did not fix this issue. 

This is breaking the illusion for the 3D objects that we're placing with augmented reality.

Hi,

Will try to reproduce this and get back to you. Depth testing is done the same way in all platforms and it uses Unity's own shader macros, so it should work the same way in all devices. I'm going to assume this issue has something to do with augmented reality, since both OP and you use it.

Which AR toolkit/framework are you using?
Reply


Messages In This Thread
RE: Liquid is rendered on top of other objects on iOS - by josemendez - 07-02-2022, 08:43 AM