SFML community forums
Help => Graphics => Topic started by: Plazmotech on December 22, 2012, 07:57:18 am
-
Hi. I'm making a game that involves pixels. When I display a sprite, it becomes antialiased (all fuzzy). How can I make it aliased (sharp) like the actual .png is? Thanks!
-
TextureName.setsmooth(false);
Edit:
Just wanted to let you know the documentation is very well done. You could have found this answer very easily there. :P
-
By the way, the smooth filter is disabled in SFML 2 by default. I recommend SFML version 2, it's maintained and has a lot more features and less bugs.