SFML community forums

Help => Graphics => Topic started by: DoubleNy on January 05, 2017, 08:37:52 pm

Title: Make blur sprites.
Post by: DoubleNy on January 05, 2017, 08:37:52 pm
How can i make all window blur ?
Title: Re: Make blur sprites.
Post by: Mario on January 05, 2017, 09:19:17 pm
This depends a lot on the kind of  blur you want. Gaussian blur? Some upscaling algorithm? (Fake) Bloom?

Most can be done using sf::RenderTexture or sf::Shader, but you'll have to be more specific.
Title: Re: Make blur sprites.
Post by: DoubleNy on January 05, 2017, 09:47:58 pm
Gaussian blur. I want  when i press a key the entire window become blur.
Title: Re: Make blur sprites.
Post by: Mario on January 06, 2017, 10:35:28 pm
Check SFML's "Shader" example.
Title: Re: Make blur sprites.
Post by: quinor on January 13, 2017, 05:56:16 pm
(a bit necro, but for future generations...)

http://en.sfml-dev.org/forums/index.php?topic=21363.0 (http://en.sfml-dev.org/forums/index.php?topic=21363.0)