1
Graphics / Replacing one color with another color in a texture
« on: October 19, 2015, 01:14:13 am »
Hello!
I want to know if there is a way to replace one color with another in a texture. so for example say there is a texture that has a pink background which is meant to be replaced with a transparent color. Is this possible in SFML? I really don't want to use the getPixel() and setPixel() for the sprite.
I want to know if there is a way to replace one color with another in a texture. so for example say there is a texture that has a pink background which is meant to be replaced with a transparent color. Is this possible in SFML? I really don't want to use the getPixel() and setPixel() for the sprite.