no edit summary
(Added a note that there are also non-POT BLP files. This contradicts the first paragraph so maybe further edits are neccesary to make it more sensible) |
No edit summary |
||
| Line 3: | Line 3: | ||
'''BLP files''' are Blizzard's texture format, used for many games. ''World of Warcraft'' uses the BLP2 format in particular. The BLP file structure consists of a header, up to 16 mipmaps of the texture, and a palette. Texture sizes must be powers of two, though the two dimensions do not have to be equal; 512x256 is valid, but 512x200 is not. The first mipmap (mipmap #0) is the full size image; each subsequent mipmap halves both dimensions. The final mipmap should be 1x1. | '''BLP files''' are Blizzard's texture format, used for many games. ''World of Warcraft'' uses the BLP2 format in particular. The BLP file structure consists of a header, up to 16 mipmaps of the texture, and a palette. Texture sizes must be powers of two, though the two dimensions do not have to be equal; 512x256 is valid, but 512x200 is not. The first mipmap (mipmap #0) is the full size image; each subsequent mipmap halves both dimensions. The final mipmap should be 1x1. | ||
It should be noted that ''World of Warcraft'' does ship a small number of BLP files with dimensions that are not powers of two | It should be noted that ''World of Warcraft'' does ship a small number of BLP files with dimensions that are not powers of two; 768x128 is used for many cube map textures, for example. In this case, the final mipmap may not be 1x1. | ||
=== The .BLP header === | === The .BLP header === | ||