Problem with textures weight

Hello!
We have textures that weigh 91 MB in total
After DXT compression we got 66.8 MB (as expected)
image

After that we have decreased quality of these textures, but leaved the same resolution. The textures weight became 32.5 MB in total.
When we compressed it in DXT, we got 60.8 MB! How come??
image

do they get rounded up to power of 2 perhaps? Or are these power of 2 to start with.

2 Likes

That sounds like it, DXT requires power of two and I believe the backend upscales to the nearest power of two dimension?

We could add a warning there to warn users in advance :thinking:

If they are already power of two, it goes back to a previous reply where the compression is optimising for VRAM usage, not size.

Even if the JPEG is heavily compressed, it’s not going to affect the compressed formats that much. It’s like converting a JPG to a Bitmap, no matter what the original size or compression the JPG is, the Bitmap is always going to be same size. For example, you can see the VRAM usage for both JPGs and DXTs are the same in both screenshots.

2 Likes

Yes, they do :slight_smile:
All of our textures have size of power of 2

Oh, I think I got it
Thank you for explanation!