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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.