Hi all
My first feature request is something I'm a little surprised isn't already here
I'd love to see pre-multiplied alpha in SFML.
Pre-multiplied alpha makes life a lot easier. Not only can you so alpha and additive blending in one pass, but it also makes objects with transparent backgrounds look better (no ugly black borders, etc.)
For example, XNA uses pre-multiplied alpha by default. Very handy, and after seeing how good it is, I can't really see any reason to NOT use pre-multiplied alpha.
There is an older thread on this subject, but I didn't want to necro it.
http://en.sfml-dev.org/forums/index.php?topic=5026.0It would be great if not only was this added as a blend mode, but if there was also an option that SFML would automatically convert an image to pre-multiplied alpha when it was loaded (by simply multiplying the colour by the alpha).
Thanks!