Real-Time DXT Compression
May 20th 2006J.M.P. van Waveren© 2006, Id Software, Inc.
S3TC also known as DXT is a lossy texture compression format with a fixedcompression ratio. The DXT format is designed for real-time decompression in hardwareon graphics cards, while compressing textures to DXT format may take a considerableamount of time. However, at the cost of a little quality a DXT compressor can beoptimized to achieve real-time performance. The DXT compressor described in this paperis optimized using the Intel Multi Media Extensions and the Intel Streaming SIMDExtensions 2. The presented optimizations allow textures to be compressed real-timewhich is useful for textures created procedurally at run time or textures streamed from adifferent format. Furthermore a texture compression scheme is presented which can beused in combination with the real-time DXT compressor to achieve high quality real-timetexture compression.1