Skip to main content
GameDev.net gamedev.net
🔒 Locked

Looking for a library that can do DirectX texture compression...

Started by jonwil Apr 28 at 9:18 AM 2 replies 800+ views
Original Post
jonwil
jonwil

I have some old stuff that uses the old NVIDIA nvdxtlib library to do texture compression and I am writing some new code that also needs to do the same texture compression. I am unable to use nvdxtlib as it will not work with Visual Studio 2022.

Can anyone suggest a more modern library that can produce DDS/compressed data with DXT1, DXT1A, DXT3, DXT5, A8R8G8B8, X8R8G8B8 and R5G6B5 texture formats? I also need mipmap generation and support for generating volume maps. I need Visual Studio 2022 compatibility and I need something that does not use any GPU APIs (which rules out the more modern NVIDIA stuff that is tied to CUDA and NVIDIA GPUs). I should also mention that for various reasons, I need 32 bit libs.

Aressera
Aressera

I use AMD's Compressonator library in my engine. It does most of what you say, though I do use my own image resampler for mipmap generation. I don't know if it supports 3D textures. It's not the best library I've used (I found several serious bugs when using it, it seems barely tested), but it is supposed to have pretty good quality and supports most compression formats. There aren't many other good options if I recall.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.