Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
possible to make setColor have opposite effect?
Print
Pages: [
1
]
Author
Topic: possible to make setColor have opposite effect? (Read 1383 times)
0 Members and 1 Guest are viewing this topic.
dixondean25
Newbie
Posts: 42
possible to make setColor have opposite effect?
«
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.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: possible to make setColor have opposite effect?
«
Reply #1 on:
January 28, 2014, 08:00:13 am »
No, to do that you'll need a shader.
Logged
Laurent Gomila - SFML developer
dixondean25
Newbie
Posts: 42
Re: possible to make setColor have opposite effect?
«
Reply #2 on:
January 28, 2014, 05:39:32 pm »
that's what i thought. Thank you!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
possible to make setColor have opposite effect?
anything