set_trans_blender(3)

NAME
set_trans_blender

SYNOPSIS
#include <allegro.h>

void set_trans_blender(int r, int g, int b, int a);

DESCRIPTION
Selects the default set of truecolor blender routines, which perform a simple linear interpolation between the source and destination colors. When a translucent drawing function is called, the alpha parameter set by this routine is used as the interpolation factor, which controls the solidity of the drawing (range 0 to 255). When a lit sprite drawing function is called, the alpha value passed to this routine is ignored, and instead the color passed to the sprite function is used to select an alpha level. The blender routine will then be used to interpolate between the sprite color and the RGB values that were passed to this function (ranging 0-255).

SEE ALSO
set_blender_mode(3), set_alpha_blender(3), set_write_alpha_blender(3), color_map(3), draw_trans_sprite(3), draw_lit_sprite(3), drawing_mode(3), set_add_blender(3), set_burn_blender(3), set_color_blender(3), set_difference_blender(3), set_dissolve_blender(3), set_dodge_blender(3), set_hue_blender(3), set_invert_blender(3), set_luminance_blender(3), set_multiply_blender(3), set_saturation_blender(3), set_screen_blender(3)