DOKK / manpages / debian 10 / allegro4-doc / POLYTYPE_ATEX_LIT.3alleg4.en
POLYTYPE_ATEX_LIT(3alleg4) Allegro manual POLYTYPE_ATEX_LIT(3alleg4)

POLYTYPE_ATEX_LIT, POLYTYPE_PTEX_LIT - Polygon rendering mode type Allegro game programming library.

#include <allegro.h>

#define POLYTYPE_ATEX_LIT

#define POLYTYPE_PTEX_LIT

Like POLYTYPE_ATEX and POLYTYPE_PTEX, but the global color_map table (for 256-color modes) or blender function (for non-MMX truecolor modes) is used to blend the texture with a light level taken from the `c' value in the vertex structure. This must only be used after you have set up the color mapping table or blender functions!

polygon3d(3alleg4), POLYTYPE_ATEX(3alleg4), POLYTYPE_PTEX(3alleg4), color_map(3alleg4), ex3d(3alleg4)

version 4.4.2 Allegro