1
Graphics / Fill sf::Sprite with constant color
« on: November 24, 2017, 12:43:52 pm »
Hi! I have some problems changing color of sf::Sprite. As said in manual - i can multiply sprite color by some value with sprite->setColor(...) this is perfectly fine, until i want full sprite to be specific color.
In other words. How i can change all pixels of sf::Sprite that are not transparent to specific RGB value on an existing sprite?
In other words. How i can change all pixels of sf::Sprite that are not transparent to specific RGB value on an existing sprite?