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!

in Engine by (181 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.

by (27,829 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.