Post processing on the rendered scene

Started by tao, March 21, 2014, 01:02:10 PM

Previous topic - Next topic

tao

Hi,

Can I add some image effects, like blur, after the scene getting rendered? I see ITextureEffect interface, is that help?

EgonOlsen

Yes, you can and no, that interface won't help. You have to render into a texture and you might have to write a shader in addition that applies the effect.
For a simple blur, it's sufficient to render the scene into a small texture and blit it scretched onto the screen. The bilinear filtering will automatically apply a kind of blur effect.