Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Liquid is rendered on top of other objects on iOS
#7
(03-02-2022, 06:56 PM)josemendez Wrote: Hi there!

So far I've been unable to reproduce this.

- iOS device you're using? iOS version?
- I assume you're using Metal as the graphics API?
- Does this happen with all objects in the scene or only certain objects? do the incorrectly occluded objects use an opaque shader? (meaning, do they write to the depth buffer?)

kind regards,

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.
Reply


Messages In This Thread
RE: Liquid is rendered on top of other objects on iOS - by angecroft - 04-02-2022, 10:59 AM