SFML community forums
Help => General => Topic started by: flashrocket on May 01, 2014, 08:07:13 am
-
Is there some way to lighten an image or texture?
what im to do is make a sprite more white when mouse is hovered over it.
-
You could either use a fragment shader, or simply change the color of the sprite. In the latter case, you may want to experiment with different blend modes -- use the latest master branch on GitHub, we have just added that functionality.