1
Feature requests / Applying shader effect to RenderTarget
« on: July 27, 2013, 10:17:25 pm »
Hi!
Sometimes is needed to apply shader effect to the scene, but now it's required to render all the scene with sf::RenderTexture, get this texture and render it again to window with shader. What do you think about add applyShaderEffect method for sf::RenderTarget? Or maybe something like sf::PostFX in SFML 1.6 - you can simply pass it as sf::Drawable?
Regards,
Mrowqa
Sometimes is needed to apply shader effect to the scene, but now it's required to render all the scene with sf::RenderTexture, get this texture and render it again to window with shader. What do you think about add applyShaderEffect method for sf::RenderTarget? Or maybe something like sf::PostFX in SFML 1.6 - you can simply pass it as sf::Drawable?
Regards,
Mrowqa