Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mobile performance
#12
(18-05-2021, 02:54 PM)josemendez Wrote: You could try using a larger timestep too, eg 0.03. Then set the max fixed timestep to 0.06 to limit Unity to 2 physics updates per frame.

Assuming you're using the Burst backend, and that the bottleneck is indeed the simulation (FixedUpdate) not much else can be done. Maybe use less density iterations, less substeps, etc. until performance  is acceptable without quality suffering too much. Fluid simulation is really expensive, so it won't perform well in lower-end devices in general.

Is there a way to make the liquid move faster? whatever speed value I change, it doesn't seem to impact the speed of the liquid.

(18-05-2021, 02:54 PM)josemendez Wrote: You could try using a larger timestep too, eg 0.03. Then set the max fixed timestep to 0.06 to limit Unity to 2 physics updates per frame.

Assuming you're using the Burst backend, and that the bottleneck is indeed the simulation (FixedUpdate) not much else can be done. Maybe use less density iterations, less substeps, etc. until performance  is acceptable without quality suffering too much. Fluid simulation is really expensive, so it won't perform well in lower-end devices in general.

What's are the option I need to check to gain performance? I don't see in the documentation an IMPACT on performance on option. You tell me density iterations less substeps... I don't know where are those options. Density iterations are in the material?

Does Constraints have an impact on performance? Is there a guide somewhere like... where to start on performance and each option with their cost so I can try to tweak everything! Would be awesome.
Reply


Messages In This Thread
Mobile performance - by DryGinStudios - 12-05-2021, 04:05 PM
RE: Mobile performance - by josemendez - 12-05-2021, 04:55 PM
RE: Mobile performance - by DryGinStudios - 12-05-2021, 05:18 PM
RE: Mobile performance - by DryGinStudios - 12-05-2021, 08:04 PM
RE: Mobile performance - by josemendez - 13-05-2021, 07:43 AM
RE: Mobile performance - by DryGinStudios - 13-05-2021, 12:32 PM
RE: Mobile performance - by DryGinStudios - 12-05-2021, 09:10 PM
RE: Mobile performance - by DryGinStudios - 17-05-2021, 10:02 PM
RE: Mobile performance - by josemendez - 18-05-2021, 07:45 AM
RE: Mobile performance - by DryGinStudios - 18-05-2021, 02:52 PM
RE: Mobile performance - by josemendez - 18-05-2021, 02:54 PM
RE: Mobile performance - by DryGinStudios - 18-05-2021, 10:44 PM
RE: Mobile performance - by josemendez - 19-05-2021, 07:44 AM
RE: Mobile performance - by DryGinStudios - 19-05-2021, 04:49 PM
RE: Mobile performance - by josemendez - 20-05-2021, 07:43 AM
RE: Mobile performance - by DryGinStudios - 20-05-2021, 12:56 PM
RE: Mobile performance - by josemendez - 20-05-2021, 01:45 PM
RE: Mobile performance - by DryGinStudios - 20-05-2021, 03:56 PM
RE: Mobile performance - by josemendez - 20-05-2021, 08:53 PM