set_dissolve_blender(3alleg4) | Allegro manual | set_dissolve_blender(3alleg4) |
set_dissolve_blender - Enables a dissolve blender mode. Allegro game programming library.
#include <allegro.h>
void set_dissolve_blender(int r, int g, int b, int a);
Enables a dissolve blender mode for combining translucent or lit truecolor pixels. Randomly replaces the colours of some pixels in the destination image with those of the source image. The number of pixels replaced depends on the alpha value (higher value, more pixels replaced; you get the idea :).
version 4.4.2 | Allegro |