set_burn_blender(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ set_burn_blender(3) β€” the Allegro manual, but make it cute ✨

okay bestie, sit down, hydrate, and let me tell you about a lil function from the Allegro game programming library that makes your pixels go dark academia πŸ’…


🌸 NAME 🌸

set_burn_blender β€” enables a burn blender mode. yeah. that's the whole vibe. Allegro game programming library, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

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

she takes four lil ints β€” r, g, b, and a β€” and returns absolutely nothing because she's a void girlie and she's thriving πŸ’€βœ¨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, fr fr: this function enables a burn blender mode, and what that blender is for is combining your translucent or lit truecolor pixels. iconic behaviour, honestly.

and the way it works?? the lightness values of the colours in the source image reduce the lightness of the destination image. so like… the source is out here lowering the destination's whole lightness situation, and the result is that the image gets darker. it's giving scorched. it's giving burnt toast but make it graphics. πŸ”₯

no seriously β€” darkening the image IS the point. that's the whole bit. she's not broken, she's burning.


πŸ‘‘ SEE ALSO πŸ‘‘

go read those next, bestie, iykyk πŸ’–


🌈 pro tip from me to you: keep those two SEE ALSOs bookmarked, because blender modes and drawing modes are literally the duo of the century. periodt.

mwah πŸ’‹ that's the page β€” brought to you by the Allegro manual, version 4.4.3. go forth, darken some images, and slay responsibly, my love πŸ§šπŸ’œ

πŸ“¦ where this page comes from