Mail Archives: djgpp/1997/07/24/14:52:20
Allegro v2.2 can apply gouraud (linear gradient) shading to polygons-
the docs don't mention anything about more sophisticated shading. Find
POLYTYPE_GCOL, POLYTYPE_GRGB, POLYTYPE_ATEX_LIT and POLYTYPE_PTEX_LIT in
the Graphics section of the documentation. The POLYTYPE definitions can
be used in conjunction with most of the polygon rendering functions.
----------
Vic wrote:
>
> And another thing: does anyone know how to do smooth shading? The
> results are really cool and it would be a nice adition to the allegro
> routines.
- Raw text -