Textures should be compressed accordingly to their in-game purpose. There are multiple compression types, but the most used are: DXT1, DXT5 Alpha, TGA 24 RLE and TGA 32 RLE.
- DXT1: For most textures (diffuse with no transparency). Has the smallest size but the lowest quality. Not recommended for Skyboxes or HUD textures.
- DXT5 + Alpha: Only for objects that requires to be masked using transparency. Has better quality than DXT1 but lacks behind TGA for gradients, it shows more artifacts and banding. It also seem to be less precise in colors than TGA, but I'm not sure it needs more testing. Not recommended for shadow masks.
- TGA 24 + Compress RLE: For textures that don't use transparency but requires more quality (less banding/artifacts) like menus and other textures. Particularly I like to use it for Skyboxes.
- TGA 32 + Compress RLE: Has the highest quality and it's the way to go for important textures that require transparency. When compared with DXT5 Alpha, it can sometimes create smaller files and save disk space. However the in-game memory usage is higher for some reason. The DXT5 Alpha uses less memory despite the larger pack file. Recommended for shadow masks.
Comparison
The test was made using 3 solid green textures 4096x8192 resolution + 996 TGA DMY ones. Followed by 3 runs pressing Q to quick turn and rotate camera, then restarting a checkpoint. Not alt-tabbing and not opening inventory. The game was closed and reopened for each test.
Like mentioned TGA 32 RLE can produce smaller files than DXT5 Alpha, but it depends on the texture. If the texture is simple and have plenty of empty/unused space like solid colors, black and white masks, it is where the compression shows better results.
The more complex and detailed the texture, the more it tends to favor DXT5 Alpha. The RLE compression is lossless but in-game it end up using more memory than DXT5 Alpha. I'm not sure about CPU usage, but the allocated memory is lower using DXT even between TGA 32 RLE x DXT Uncompressed. A CPU comparison still needed to be made.
*Not to confuse DXT5 + Alpha with DXT5A
*TGA 16 should not be used, colors show artifacts, and looks bad.
*LFS had no effect on In-game memory usage.
*Despite the binary differences, both SoP and JADERLINK YZ2 had basically the same memory usage.
