Color filters

Home / Features / Color filters

When blitting surfaces or drawing primitives in EDGELIB-driven applications, a variety of powerful color filters can be applied for special effects. Also all combinations of color filters can be used.

Currently EDGELIB supports the following color filters:

  • Color key
  • Opacity blending
  • Additive alpha blending
  • Subtractive alpha blending
  • Colorizing
  • Tint
  • Color fill

In the next sample images an additional color key filter (black) is added, except for the first one.

No filter
No filter
Color key (black)
Color key (black)
Opacity 50%
Opacity 50%
Additive alpha
Additive alpha
Subtractive alpha
Subtractive alpha
Colorize (orange)
Colorize (orange)
Tint (orange)
Tint (orange)
Color fill (orange)
Color fill (orange)

Use pixel shaders to create custom effects on a per-pixel basis.

Back to Features

Latest forum posts