How to change DXT compression of imported textures?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By godotludos


I am importing an image to Godot by drag&drop into the FileSystem, then i drag&drop my image from FileSystem into the Texture property of the Albedo category of my material.
When i do this the image imports again, here is a picture of it happening:
image looking has expected
and here is a picture of it after import finishes:
image gained a pattern of semi transparent colored squares

I think this might be because of the image being compressed to DXT1, is there any way to change the compression? or is this completely unrelated to DXT compression?

:bust_in_silhouette: Reply From: godotludos

I’m not sure if i’m allowed to answer my own question, but i found a solution and just wanted to share in case anyone has the same problem.

After importing an image you can select it in the FileSystem, and then on the side of the Scene tab there is an Import tab you click it and you get access to a bunch of import options. You can’t directly choose the imported format but you can choose if the image gets compressed or not under Mode property of the Compress category. In my case changing this option from VRAM Compressed to VRAM Uncompressed and clicking the button Reimport solved my issue.

Thanks ! Your answer help me to chnage the default RGBA DXT5 compression that do not work for GLES2.0. Setting it with Lossless compression works.

didifred | 2020-05-08 21:31