Help Problems with fluid rendering on mobile devices - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Help Problems with fluid rendering on mobile devices (/thread-3278.html) |
Problems with fluid rendering on mobile devices - bozdo - 16-01-2022 Hello there Im trying to make a mobile game using using Obi Fluid, but I ran into some problems. First of all I tried fluid in project with built-in RP. I opened FluidMill scene made some changes to fluid so it looks more like oil. And i noticed that fluid looks different on my android and in editor. Specifically where are no reflections on android (look at screenshots for comparison). [attachment=1226] [attachment=1227] [attachment=1229] I tried changing many things but without any success. Also tried to build example scenes without changing anything in Fluid Renderer but still no reflections on android. So I decide to try URP. I made a simple project from unity's URP template project. Import obi fluid, convert built-in materials, added fluid renderer feature, and example scenes started working as intended in editor. But on Android fluid isn't rendering at all. Clearly particles are emitting because I can see mill spinning. Also tried to build on iOS and same result here - fluid isn't rendering. [attachment=1230] [attachment=1231] Im using MacBook Pro m1 max Unity 2021.2.6f1 apple silicon Android 11 - Pixel 3 iOS 15.1.1 - iPhone 13 pro Backend - burst Obi fluid version 6.3 RE: Problems with fluid rendering on mobile devices - josemendez - 17-01-2022 (16-01-2022, 02:30 PM)bozdo Wrote: Hello there Hi there, Which rendering Api are you using? Fluid rendering requires floating point texture support. Are you by any chance using the OpenGL API in iOS? I ask this because it does not have support for these, only Metal has. Furthermore OpenGL has been deprecated by Apple, so switching to Metal is important. Have had no issues using either rendering pipeline in both platforms, but fluid won't render at all in iOS when using OpenGL. Regarding Android: can you share your adb logcat contents? Obi specifies the reason for rendering issues in the log, if it's able to pinpoint what the cause is. |