exshade3alleg4
Gouraud shaded sprites. allegro game programming library.
Usage
#include <allegro.h>
Example exshade
Overview
This program demonstrates how to draw Gouraud shaded (lit) sprites. In an apparently black screen, a planet like sprite is drawn close to the middle of the screen. In a similar way to how the first test of extrans works, you move the cursor on the screen with the mouse. Attached to this mouse you can imagine a virtual spotlight illuminating the scene around. Depending on where the mouse is, the Gouraud shaded sprite will show the direction of the light.
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.