Restoring Texture After DXT Compression
VTF Textures saved in a compressed DXT format suffer irreversible data loss. If the source files for the texture are unavailable, the only choice is to use the compressed texture which can be problematic due to the blocky artifacts and green tint from the compression. If this is used for further edits and then re-compressed, the quality loss will get even greater.
The effects of the DXT can now be reversed by the use of an AI neural network model, which has been specifically trained on images in their original format versus their DXT-compressed version. The results are effective on cartoony textures and remove most of the blocky artefacts, although fine-grain detail on more realistic textures will be smoothed out.
- Download CupScale and follow the install instructions here.
- Download the AI model from here and assign the model to CupScale (underneath
ESGRAN Model Options).
- Export your compressed texture into .png format and drag it onto CupScale's area.
- Run the AI by pressing the
Upscale and Savebutton. This might take a while depending on how powerful your GPU is and the image resolution.
- The new decompressed image will be available beside your original image.