Author Topic: Post-processing  (Read 1956 times)

Offline Shot

  • byte
  • *
  • Posts: 7
    • View Profile
Post-processing
« 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)?

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Post-processing
« Reply #1 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)

Offline Shot

  • byte
  • *
  • Posts: 7
    • View Profile
Re: Post-processing
« Reply #2 on: July 28, 2013, 01:28:34 pm »
Does jpct-ae support rendering full-screen quads?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Post-processing
« Reply #3 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.