DXT3
DXT3 is a block-based texture compression format in the S3 Texture Compression (S3TC) family, commonly referred to as BC2 in DirectX nomenclature. It compresses textures in 4x4 texel blocks, with a fixed 16-bytes per block layout: 8 bytes for per-texel alpha data and 8 bytes for color data, allowing efficient storage and fast decompression on many GPUs. DXT3 is designed to preserve sharp per-pixel transparency by storing explicit alpha values and applying them to the decompressed color information.
The alpha part of a DXT3 block consists of 16 four-bit alpha values, one for each texel
Decoding a DXT3 block involves reconstructing the per-texel color from the color endpoints and their indices,