---
name: "POLYTYPE_ATEX_LIT"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/POLYTYPE_ATEX_LIT"
---

# POLYTYPE\_ATEX\_LIT(3alleg)

Polygon rendering mode type Allegro game programming library.

## 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**(3alleg)](/polygon3d/3alleg.md), [**POLYTYPE\_ATEX**(3alleg)](/POLYTYPE_ATEX/3alleg.md), [**POLYTYPE\_PTEX**(3alleg)](/POLYTYPE_PTEX/3alleg.md), [**color\_map**(3alleg)](/color_map/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md)
