Imported .glb file comes into Godot with a changed texture

Godot Version

v4.2.2.stable.official[15073afe3]

Question

First day of Godot, having a blast! But there’s a lot I don’t know yet. Came across a very peculiar situation when importing a .glb textured file into Godot, which seems to change the .png texture file upon importing. Any ideas what is happening and how can I ensure the correct texture is imported?

I have no idea what’s causing that yellow on the left half of the image when the .glb file is imported. Any ideas? Super thanks for the patience with the noob!

That’s probably the effect of the DXT-1 compression. Maybe disable compression on the import? It’s not a big texture, the size difference won’t be much.

1 Like

That’s indeed the case, thanks for the help!

IIRC DXT-1 compression cuts the image up into small tiles. For each tile it picks two endpoint colors and maps the pixels to a two-bit gradient between them. This works relatively well with some kinds of image, really badly with others.