SFML community forums
Help => Graphics => Topic started by: sgthale on December 08, 2010, 12:38:49 am
-
Is there any ways of painting pixels individualy with a color?
-
If it's SFML2 then you could look at sf::RenderImage. Otherwise look at http://www.sfml-dev.org/documentation/1.6/classsf_1_1Image.htm#623f2379b30307b4ee4eb08d517d9584
You can render everything to an image by setting the images pixel per pixel and then render it to the window.
If you are looking for Fragment/Pixel Shaders then it is sf::PostFX(1.X) or sf::Shader(2.0) you are interested in.
-
Is there any ways of painting pixels individualy with a color?
Well You could use Opengl... Along with SFML of course. You can draw points with that...