SFML community forums

Help => Graphics => Topic started by: dixondean25 on January 28, 2014, 06:17:00 am

Title: possible to make setColor have opposite effect?
Post by: dixondean25 on January 28, 2014, 06:17:00 am
I want to know if there's a way to make the setColor method for sprites change the blacks instead of whites. For example i want the whites of the image to stay white, and the blacks to turn to the color i pass.
Title: Re: possible to make setColor have opposite effect?
Post by: Laurent on January 28, 2014, 08:00:13 am
No, to do that you'll need a shader.
Title: Re: possible to make setColor have opposite effect?
Post by: dixondean25 on January 28, 2014, 05:39:32 pm
that's what i thought. Thank you!