-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scaling problems on Android #11387
Comments
you can attach images directly on github with D&D. |
@volzhs thanks, will do that next time. Are the images still visible for you? Shouldn't this issue be put on 3.0 milestone? This seems to be the main thing preventing games from looking as expected on Android. There are also font scaling problems in general - it looks as if texts are scaled after being rasterized which results in severe visual artifacts. |
Yes, the images are still visible. However, to my knowledge, Imgur deletes images which have received no views in 6 months and compresses large images (which may be undesirable in some cases). So, it's better to use GitHub attachments. |
Changed links to point to GitHub attachments. |
I edited OP to show image directly. |
Some additional information. Below some artifacts that taken from Android Device Monitor: Generated font texture (inverted for preview): Fragment shader that draw one symbol: |
Scaling part of this issue would be fixed by #12022. But even when scaling is alright, fonts and some other 2D elements are rendered ugly as shown in the previous comment. |
Scaling should now be fixed. I don't undestand the font problem |
Still seeing the scaling issue as shown on the original screenshot with current master. |
Now it's actually fine. So either I used old apk or old Godot or it's been fixed since the last comment :/ @reduz any chance you can look into the rendering issue? It's currently the main thing hurting the look on mobile. Seems to affect not only the fonts but any 2D elements. Very visible on the edges of UI elements. |
@endragor the font problem is really strange, does it only happen on Android? |
@reduz both Android and iOS. |
The scaling issue being fixed, and the rendering issue tracked in #15116, closing. |
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot bc005a5, Samsung Galaxy S6 (Android 7.0)
Issue description:
See how scaled screen looks like on Android (bad) vs macOS (ok) with the same project.
Steps to reproduce:
git clone -b 2d-scale-bug https://github.com/endragor/etc2bug.git 2d-scale-bug cd 2d-scale-bug godot --export-debug Android test.apk
Then install and open
test.apk
on the device.The text was updated successfully, but these errors were encountered: