Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with darkening on mobile
#1
Hello, I am currently integrating some Obi effects into a project. We have it looking great in the Unity Editor but when I bring it to device (android or iOS) it looks a bit different, mostly in terms of darkness.

Attached are all pertaining settings, if you need anything else please let me know.

https://drive.google.com/open?id=1TtQgYK...vRwKGunnUM

Thank you!
Reply
#2
I'm also running into this problem. Does Obi Fluid render differently on mobile than what is shown in the Editor? The highlights on the fluid don't seem to render on mobile at all.
Reply
#3
Hi,

This is probably due to reduced texture/shader precision in mobile platforms.

Surface normals for fluid are extracted from the depth buffer, so if its precision is not high enough, "stepping" artifacts will occur in the normals buffer that will reduce highlight quality, to the point of making them not visible if surface curvature is not very large. This depends on the exact GPU your device uses, though.

For this reason amongst others (mainly performance, as mobile is generally very fill-rate limited), it is strongly recommended to use the SimpleFluidRenderer for these devices. See:
http://obi.virtualmethodstudio.com/tutor...ering.html
Reply