www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: tao on March 21, 2014, 01:02:10 pm

Title: Post processing on the rendered scene
Post by: tao on March 21, 2014, 01:02:10 pm
Hi,

Can I add some image effects, like blur, after the scene getting rendered? I see ITextureEffect interface, is that help?
Title: Re: Post processing on the rendered scene
Post by: EgonOlsen on March 21, 2014, 01:49:10 pm
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.