SFML community forums

Help => Graphics => Topic started by: ravenheart on October 05, 2008, 06:21:34 pm

Title: Transparent color
Post by: ravenheart on October 05, 2008, 06:21:34 pm
how can i do that in a certain sprite a certain color is not being shown on screen?
Title: Transparent color
Post by: Laurent on October 05, 2008, 06:47:12 pm
Use a TGA or PNG image which can have an alpha channel, or use sf::Image::CreateMaskFromColor(color) to set the given color as transparent.