www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Shot on July 28, 2013, 12:09:04 am

Title: Post-processing
Post by: Shot on July 28, 2013, 12:09:04 am
Hello :)

Could anyone tell me how to use IPostProcessor to perform post-processing (like bloom, edge detection, motion blur)?
Title: Re: Post-processing
Post by: Thomas. on July 28, 2013, 10:53:46 am
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) (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/FrameBuffer.html#setRenderTarget(int))
Title: Re: Post-processing
Post by: Shot on July 28, 2013, 01:28:34 pm
Does jpct-ae support rendering full-screen quads?
Title: Re: Post-processing
Post by: EgonOlsen on July 28, 2013, 08:23:19 pm
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.