-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
TileMap rendering error after Android export. #71020
Comments
Most likely related to low precision on Android |
@Zireael07 This question is very strange. I didn't remember it at first, but it has appeared since I used "Scenes collection" in TileMap; I'm not sure if it has anything to do with this. I want to do some more tests and then have a look. |
@Zireael07 |
@Zireael07 |
We would need a minimal reproduction project to debug further, i.e. a zipped project with only the minimal setup necessary to reproduce the bug which we can export to PC and Android to compare. |
I encountered the same problem while making my game. Version: Godot 4.0 Issue Description:Tilemap renderer breaks in scenes with overlapping TileMaps after Exporting to Android Steps to Reproduce:1 - Create new project 3 - Set Project Setting Display/Window/Stretch to: 4 - Create 2D scene Minimal Project |
Thank you! That fixs!
…------------------ 原始邮件 ------------------
发件人: "godotengine/godot" ***@***.***>;
发送时间: 2023年3月26日(星期天) 凌晨2:14
***@***.***>;
***@***.******@***.***>;
主题: Re: [godotengine/godot] 【Android Tilemap Rendering Bug】TileMap rendering error after Android export. (Issue #71020)
The TileSet editor creates a new texture with one-pixel padding around each tile to avoid issues with filtering being enabled. Can you reproduce this if you disable Use Texture Padding in the TileSet atlas properties then export to Android again?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks @Calinou! |
This error has also happened to me in one of my games. In my case I also solved it by deactivating "Texture padding", but I also noticed that the first tileset had no glitches, but the tilesets after that were damaged. It also seems that the second tileset picks up part of the pixels of the first tileset. The error probably occurs near here: godot/scene/resources/tile_set.cpp Line 4761 in dce1aab
|
Then "Use Texture Padding" should be turned off by default |
Texture Padding helps a lot avoiding graphical artifacts when scaling tilemaps. Disabling "Use Texture Padding" can be a temporary patch to avoid having more intense graphical artifacts, but it is not the solution. |
Thank you. Now the problem has been solved.
…------------------ 原始邮件 ------------------
发件人: "godotengine/godot" ***@***.***>;
发送时间: 2023年10月23日(星期一) 上午6:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [godotengine/godot] TileMap rendering error after Android export. (Issue #71020)
Then "Use Texture Padding" should be turned off by default
Texture Padding helps a lot avoiding graphical artifacts when scaling tilemaps.
Disabling "Use Texture Padding" can be a temporary patch to avoid having more intense graphical artifacts, but it is not the solution.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This was likely fixed by #84852 Which will be part of 4.2.1. Once 4.2.1, please test again and confirm |
Godot version
4.0 Beta 10
System information
Window10
Issue description
As shown in the figure, there is always a problem with TileMap rendering after Android is exported. Does anyone know what the problem is?
If it is exported on PC, there is no problem.
Steps to reproduce
略
Minimal reproduction project
略
The text was updated successfully, but these errors were encountered: