SFML community forums
Help => Graphics => Topic started by: Chuckleluck on April 06, 2012, 05:02:10 pm
-
Hello,
Using SFML I've noticed my sprites end up blurry. For example, this is my source .png file:
http://us.fotolog.com/chuckleluck/124000000000004931/ (http://us.fotolog.com/chuckleluck/124000000000004931/)
This is the sprite, assembled in my SFML program:
http://us.fotolog.com/chuckleluck/124000000000004932/?share=1 (http://us.fotolog.com/chuckleluck/124000000000004932/?share=1)
As you can see, the edges are blurry. Is there a way to disable this feature? I want my program to be pixel-perfect.
-
image.SetSmooth(false);
-
Ah. Thank you.