Scroll to navigation

POLYTYPE_ATEX_LIT(3alleg4) Allegro manual POLYTYPE_ATEX_LIT(3alleg4)

NAME

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

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!

SEE ALSO

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

version 4.4.3 Allegro