12-05-2021, 04:55 PM
(This post was last modified: 12-05-2021, 05:00 PM by josemendez.)
(12-05-2021, 04:05 PM)DryGinStudios Wrote: So... created a new project, 2020.3.7f1 in URP. Added the obi fluid and tested on android the SimpleFluid scene. I got a galaxy s20 (very performant) and I had 15 fps. I added all the latest burst, job, mathematic.
I get to 30 fps when reducing the max dpi of the screen to 300.
I've built multiple games for android with physics (Dots Physics too) and I've never seen such bad performance so I'm sure something is wrong.
I read that the SimpleFluid was mobile optimized so how come I have 15 fps out of the box on one of the best cellphones on the market.
Is it normal? Is there something I don't understand?
Regards,
Paul-André
Hi,
Mobile devices are generally fill-rate limited. Modern mobile devices have very high-density screens, to make things worse. Fluid rendering is also extremely expensive, so combine all 3 and you get bad performance if rendering at full resolution.
You should use downsampling in the fluid renderer, as suggested in the manual (bottom part of this page:
http://obi.virtualmethodstudio.com/tutor...ering.html)
Also, if you’ve installed burst, jobs, etc make sure you’re using the Burst backend and that no warning appears in the ObiSolver component, telling you that it will fall back to Oni.
Let me know how it goes. Kind regards,