SYNOPSIS

#include <allegro.h>

#define POLYTYPE_ATEX_LIT

#define POLYTYPE_PTEX_LIT

DESCRIPTION

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!

RELATED TO POLYTYPE_ATEX_LIT…

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