Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
(SOLVED) Alpha Blending
Print
Pages: [
1
]
Author
Topic: (SOLVED) Alpha Blending (Read 4209 times)
0 Members and 1 Guest are viewing this topic.
Mad_Ninja
Newbie
Posts: 6
(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?
Logged
Mad_Ninja
Newbie
Posts: 6
(SOLVED) Alpha Blending
«
Reply #1 on:
January 04, 2008, 02:07:06 am »
oh, never mind! solved it. CreateMaskFromColor() was the thing! =)
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
(SOLVED) Alpha Blending