.\" Generated by the Allegro makedoc utility .TH exshade 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME exshade \- Gouraud shaded sprites. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example exshade .SH 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 Gouraud shaded sprite will show the direction of the light. .SH SEE ALSO .BR BITMAP (3alleg4), .BR COLOR_MAP (3alleg4), .BR END_OF_MAIN (3alleg4), .BR PALETTE (3alleg4), .BR RGB (3alleg4), .BR RGB_MAP (3alleg4), .BR SCREEN_H (3alleg4), .BR SCREEN_W (3alleg4), .BR allegro_error (3alleg4), .BR allegro_init (3alleg4), .BR allegro_message (3alleg4), .BR blit (3alleg4), .BR clear_bitmap (3alleg4), .BR color_map (3alleg4), .BR create_bitmap (3alleg4), .BR create_light_table (3alleg4), .BR create_rgb_table (3alleg4), .BR destroy_bitmap (3alleg4), .BR draw_gouraud_sprite (3alleg4), .BR font (3alleg4), .BR install_keyboard (3alleg4), .BR install_mouse (3alleg4), .BR keypressed (3alleg4), .BR line (3alleg4), .BR load_bitmap (3alleg4), .BR mouse_x (3alleg4), .BR mouse_y (3alleg4), .BR palette_color (3alleg4), .BR poll_mouse (3alleg4), .BR replace_filename (3alleg4), .BR rgb_map (3alleg4), .BR screen (3alleg4), .BR set_gfx_mode (3alleg4), .BR set_palette (3alleg4), .BR set_trans_blender (3alleg4), .BR show_mouse (3alleg4), .BR textout_ex (3alleg4)