SGTbayk47 Posted October 7, 2014 Share Posted October 7, 2014 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 More sharing options...
madmongo Posted October 7, 2014 Share Posted October 7, 2014 The gray boxes surrounding the image is how paint.net displays parts of the image that are transparent. In game there won't be anything displayed there. You can fill it with a solid color instead if that's what you prefer. Link to comment Share on other sites More sharing options...
ArekkusuStorm Posted October 8, 2014 Share Posted October 8, 2014 (edited) 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 October 8, 2014 by ArekkusuStorm Link to comment Share on other sites More sharing options...
SGTbayk47 Posted October 9, 2014 Author Share Posted October 9, 2014 (edited) 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 October 9, 2014 by SGTbayk47 Link to comment Share on other sites More sharing options...
ArekkusuStorm Posted October 9, 2014 Share Posted October 9, 2014 (edited) 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 October 9, 2014 by ArekkusuStorm Link to comment Share on other sites More sharing options...
jazzisparis Posted October 10, 2014 Share Posted October 10, 2014 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 More sharing options...
SGTbayk47 Posted October 10, 2014 Author Share Posted October 10, 2014 Thanks all, I just scaled the image up by 2 and it worked great. The bigger image actually made the little errors look more like shading anyway :P Thanks again :) Link to comment Share on other sites More sharing options...
Recommended Posts