Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mastorak |
When applying an image texture to a model, the texture looks correct when run on desktop in editor but looks broken when run on android. I tried applying the texture to both a spatial material and as a mesh texture to the same result. The texture is a simple png image. Check the screenshots bellow:
If it works on PC but not on android you likely hit a bug that should be reported on Github.
Zylann | 2018-06-29 12:59
I would assume that adding a texture to a model would be a generic/trivia thing, hence I was/am thinking that I might be doing something wrong. Since it renders correctly on PC but incorrectly on Android it is indeed suspicious. Is there anything I can check to verify that I am not doing something wrong, or a workaround I can try?
mastorak | 2018-06-29 18:12
You said you assigned an ImageTexture
… is that really one? Or did you simply put a PNG in your project and assigned it directly to the material?
In any case the Android output looks wrong while PC is fine, and that looks like a bug to me.
Zylann | 2018-06-29 18:17
I created the models in Blender and I exported using the better collada plugin. The texture is a png image set by default from the export in the mesh ->material->SpatialMaterial->Albedo->texture
mastorak | 2018-06-29 21:19
Same issue here ! Simple textured cube not working
However to be fair, some textures are ok others are not but weirdly after trying all the below some textures are just not loaded correctly even after :
- Using different Godot version / appropriate export template (3.0.2 → 3.0.6)
- converting file format PNG → jpg
- converting file size, POT issue
- Applying the texture to different meshes
On PC (Ubuntu) it loads correctly, on android very weirdly (link to pic)
GameVisitor | 2018-08-03 14:33