Jump to content

Can't compress a texture with good quality


SGTbayk47

Recommended Posts

First off, I'm not sure if texture issues should be posted here, but it's for a mod so I don't see why not.

 

Anyway, I was making a texture for my mod, a coloured vault boy image. In Paint.net and GIMP it shows up fine, however when I export it as a DDS the texture loses quality. Most notably boxes of grey and other colours appear around the image. This happens no matter what I set the compression setting to, BC3/DXT5 for example. Is this a thing that always happens? Or could another (free) software do the trick.

 

Any help will be appreciated :smile:

Link to comment
Share on other sites

Hmm, I have to say, that's really strange.. madmongo is correct that the checkered background means the background is transparent but I can't really say what made parts of the end result grey. If you want, you can send the original image file over and I can take a look at it.

Edited by ArekkusuStorm
Link to comment
Share on other sites

Ok, here are the images.

 

I've included the DDS with the error, a working example of a JPEG, the base DDS I used and the GIMP file used to edit it. In case the problem comes from one of those, I really have no idea haha

 

Hopefully you can find the problem :D

 

PS. If anyone else would like to try and find the problem please feel free, it will be much appreciated :P

Edited by SGTbayk47
Link to comment
Share on other sites

Yeaeah, looks like you're right, I just tried converting the jpg to dds myself and it did the same thing. It might be a size issue, I'm not entirely sure, because I just did a test to see what would happen if I just put a splotch of black somewhere on the background and it looked like the colour leaked a bit when I viewed the dds, so I suspect that the same happened to the vanilla icons as well. What you can do, is to scale the image up 2x (you will have some quality loss, so you could sharpen it if you want) and turn that into a dds.

Edited by ArekkusuStorm
Link to comment
Share on other sites

Those grey stains are known as artifacts, and are the main side-effect of compressing an image. The smaller the image, the more noticeable the distortions will be.

 

There is absolutely no reason and no advantage in compressing an image that small, as in your case. Don't use DXT - save the file as 24-bit RGB, or as 32-bit ARGB if you need the alpha channel.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...