Post-processing

Started by Shot, July 28, 2013, 12:09:04 AM

Previous topic - Next topic

Shot

Hello :)

Could anyone tell me how to use IPostProcessor to perform post-processing (like bloom, edge detection, motion blur)?

Thomas.

You do not need IPostProcessor. Render your scene into render target and in the next rendering you can do whatever.

http://www.jpct.net/jpct-ae/doc/com/threed/jpct/FrameBuffer.html#setRenderTarget(int)

Shot

Does jpct-ae support rendering full-screen quads?

EgonOlsen

You can create an NPOT texture, render into it and blit it to the screen. However, the JavaDocs for the latest version was somehow missing documentation for this (and some other new classes). I've fixed the online documentation and will update the release zip soon.