Category: Constants
Blend mode constants control how images are combined with what is already on the screen when they are drawn.
Use these constants with SetDefaultBlendMode and SetImageBlendMode.
| Constant | Value | Description |
|---|---|---|
| BLEND_ADDITIVE | 1 | Adds the image color to the background. This is useful for glows, light effects, and other bright overlays. |
| BLEND_ALPHA | 0 | Uses normal alpha blending. This is the standard choice for most sprites, textures, and interface graphics. |
SetDefaultBlendMode(BLEND_ADDITIVE)
glow = LoadImage("glow.png")
SetImageBlendMode(glow, BLEND_ADDITIVE)