exshade(3) - Linux man page
Name
exshade - Gouraud shaded sprites. Allegro game programming library.
Synopsis
#include <allegro.h>
Example exshade
Description
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 goraud shaded sprite
will show the direction of the light.
See Also
bitmap(3), color_map(3), end_of_main(3), palette(3),
rgb(3), rgb_map(3), screen_h(3), screen_w(3), allegro_error(3),
allegro_init(3), allegro_message(3), blit(3), clear_bitmap(3), color_map(3),
create_bitmap(3), create_light_table(3), create_rgb_table(3), destroy_bitmap(3),
draw_gouraud_sprite(3), font(3), install_keyboard(3), install_mouse(3), keypressed(3),
line(3), load_bitmap(3), mouse_x(3), mouse_y(3), palette_color(3),
poll_mouse(3), replace_filename(3), rgb_map(3), screen(3), set_gfx_mode(3),
set_palette(3), set_trans_blender(3), show_mouse(3), textout_ex(3)