0 votes

Hey everyone,
I have a dust effect as CPU particles and if I set too many particles, it tends to run a little slow.
Are there any tips and tricks I can do to improve performance without making it look much worse? The end product will be running on mobile phones if that matters.
Here is my effect for now:

https://github.com/Tobi-La/ParticleEffectPerformance

Thanks for your help!

asked Aug 31, 2019 in Engine by TobiLa (168 points)

1 Answer

0 votes

That's a pretty large image. I can imagine such particles take a large amount of pixels on screen. Mobiles are weak when it comes to drawing many pixels, so if you stack many of these on screen it will have bad impact on framerate. Note that transparent pixels still count as drawn pixels.
I think you should just make your texture a bit stronger so that you need less of them to produce smoke, an maybe make it smaller.

answered Sep 2, 2019 by Zylann (27,006 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.