[SDL] sRGB alpha blending
David Olofson
david at olofson.net
Sat Feb 26 20:12:24 PST 2005
On Sunday 27 February 2005 03.44, Albert Cahalan wrote:
[...]
> Spaceship anti-aliasing is a poor example because of the black
> background. Try airplanes against a normal daytime sky. With
> bad alpha blending, you'll get dark outlines around them.
Fixed Rate Pig uses SDL's alpha blending for all sprites, and though
the effect *is* visible if you know what to look for, it's not very
obvious, even against the lightest areas of the daytime sky
background. Looks a lot better than no AA, at least! Maybe I was just
lucky with the colors of the AA edge pixels?
(BTW, don't even look at Kobo Deluxe. Most sprites and fonts have dark
outlines on purpose - even though you can rarely tell because of the
dark background. Doesn't look all that great in some cases, but
that's a different matter. :-)
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
More information about the SDL
mailing list