Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: possible to make setColor have opposite effect?  (Read 1297 times)

0 Members and 1 Guest are viewing this topic.

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
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.
Laurent Gomila - SFML developer

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
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!