HomeWildfire Games

Support 8bpp textures

Description

Support 8bpp textures

When textures.xml specifies format="alpha", the input is expected to be an
8-bit greyscale PNG, and the output will be an 8-bit uncompressed
alpha-only DDS.

Add format override to CTextureProperties, to select between e.g. GL_ALPHA
and GL_LUMINANCE for 8-bit textures.

This is needed so fonts can use the new texture system.

Details

Committed
philipOct 18 2013, 5:36 PM
Parents
rP14014: Add hotkeys for JSDebugger commands. Patch by sathyam. Fixes #2208.
Branches
Unknown
Tags
Unknown