SFML community forums

Help => Graphics => Topic started by: Mad_Ninja on January 04, 2008, 02:03:13 am

Title: (SOLVED) Alpha Blending
Post by: Mad_Ninja on January 04, 2008, 02:03:13 am
I want to use a color as alpha 0, let's say that sf::color(255,0,255) is what I want to be unseen. can I use sf::image::getpixel(x,y), check the color, and set the alpha value somehow? or do I have to fix it with an image editor?
Title: (SOLVED) Alpha Blending
Post by: Mad_Ninja on January 04, 2008, 02:07:06 am
oh, never mind! solved it. CreateMaskFromColor() was the thing! =)