Appendix K. RGTC Compressed Texture Format

This appendix will describe the RG-texture compression format, used for compressing one- and two-component textures. It has the following major sections:

• “RGTC Overview

RGTC Overview

The RGTC compressed texture format is a standardized compression format for one- and two-component textures. It is a block-based format where collections of 4 × 4 texel squares that are compressed into a 64-bit encodings for each component. The first two bytes of an encoding for a channel represent representative values, which may be linearly combined to compute the color of any pixel in the 4 × 4 block. The remaining 48-bits represent 16 three-bit codes used to determine the appropriate linear combination ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.