1POLYTYPE_GCOL(3) Allegro manual POLYTYPE_GCOL(3)
2
3
4
6 POLYTYPE_GCOL - Polygon rendering mode type Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 #define POLYTYPE_GCOL
14
16 A single-color gouraud shaded polygon. The colors for each vertex are
17 taken from the `c' value, and interpolated across the polygon. This is
18 very fast, but will only work in 256-color modes if your palette con‐
19 tains a smooth gradient between the colors. In truecolor modes it
20 interprets the color as a packed, display-format value as produced by
21 the makecol() function.
22
23
25 polygon3d(3), makecol(3), ex3d(3), exscn3d(3), exzbuf(3)
26
27
28
29Allegro version 4.4.3 POLYTYPE_GCOL(3)