Miptex

From Valve Developer Community
Revision as of 14:08, 10 August 2023 by SirYodaJedi (talk | contribs) (Created page with "'''Miptex''' is an 8-bit texture format used by {{quake|4.1}} and {{goldsrc|4.1}}. They can be stored individually with a {{code|.mip}} file, but most tools and engines expect...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Miptex is an 8-bit texture format used by Quake Quake and GoldSrc GoldSrc. They can be stored individually with a .mip file, but most tools and engines expect them to be embedded in a BSP or WAD.

Miptex are always a multiple of 16, and contains the full-size texture plus 3 mipmaps, although these mipmaps are only used by the software renderer (the OpenGL renderer uses the GPU to generate 32-bit mipmaps).

Half-Life extends the miptex format to add a dedicated palette, instead of relying upon an external shared palette.

Quake II Quake II uses a variant of miptex, called WAL, which is always stored individually and contains additional surface metadata for compilers. Variations of WAL, such as Daikatana WALs, M8, and M32, are used in other Quake II Engine Quake II Engine games, and add some additional features.