0 votes

I placed 200 red cubes, added sunlight, and opened the shadows. Then I made apk and ran it on android but it was around 15 fps, I changed the settings according to myself, I got max 20 fps. how can i increase fps?

(phone i tested: samsung galaxy j5)

settings and my screen:

https://resmim.net/i/r6fIn

https://resmim.net/i/r6OXu

https://resmim.net/i/r6dCf

Godot version 3.2.3
in Engine by (46 points)
edited by

1 Answer

0 votes
Best answer

Shadows - No - Use Baked lightmaps
Glow - No - Use Pre-made Glow textures
Multiple Material - Less is More - As the Godot doc suggest less mats make for nice fps
Fog - Absolutely not

by (4,180 points)
selected by

I did what he said but the max. I got 35 fps. I don't understand why it gets such low fps with 200 cubes. Also when I try to increase the fps the quality is very low, how can I increase the fps without lowering the quality too much?

In all things art there's always a trade off between Quality and Quantity your job is to find the middle ground

you can use Anti-aliasing on your main or the root's viewport something like
get_tree().get_root().msaa = Viewport.MSAA_2X to smooth things out a bit

1 ran 1000 cubes on screen (no collisions) and got 44fps but things started to dive after 1200 so maybe its memory related

There's a great Tutorial in the docs using shaders or MultimeshInstance
The shader version gave the best results

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.