LibForge icon indicating copy to clipboard operation
LibForge copied to clipboard

Improve texture format detection

Open maxton opened this issue 7 years ago • 0 comments

Right now we are guessing the texture format based on the dimensions versus the data size. This works to distinguish DXT3/5 from DXT1 and lossless, but there seem to be a whole lot more texture formats supported by the engine.

The format is definitely being saved in one of the header bytes, so all you have to do is figure out which one to look at.

maxton avatar May 12 '18 19:05 maxton