Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: (SOLVED) Alpha Blending  (Read 4188 times)

0 Members and 2 Guests are viewing this topic.

Mad_Ninja

  • Newbie
  • *
  • Posts: 6
    • View Profile
(SOLVED) Alpha Blending
« 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?

Mad_Ninja

  • Newbie
  • *
  • Posts: 6
    • View Profile
(SOLVED) Alpha Blending
« Reply #1 on: January 04, 2008, 02:07:06 am »
oh, never mind! solved it. CreateMaskFromColor() was the thing! =)