What does Post-processing means and how can it helps?

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

What does Post-processing means and how can it helps?

Post by MasterGod »

1. What is Post-processing?
2. How can it helps (does it?) in games?
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

Post by white tiger »

post processing effects mean to process the final already rendered image instead of change the way the scene will be rendered by substituting your gpu programs (shaders) to the ones in the fixed pipeline

in other words the scene will be rendered "normally", then you process the final result. for an example search for bloom (or glow)
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Ohh... :idea:
Cool.
Thanks.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post by jingquan »

It helps in improving your scene's realism, mostly by simulating the properties of an actual camera lenses like depth-of-field, bloom, dynamic range and color/brightness toning.

Postprocessing is widly used in games nowadays, especially bloom, which is probably overused? I had that overly blurred and exposed problem last time but solved it with HDR. You should check that out too.
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

So Post-Processing is done with shaders?
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

not automatically, but you'd be hard pressed to do it with anything else with anything near a decent framerate...
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

What you do with post processing is render the scene into a texture and then pass that texture to a shader to do some funky effects, as people have already mentioned.

If you don't know shaders then you could also just mess around with the texture yourself within your code, rather than passing it to a shader and could do things like blurring and probably any number of other things (though possibly not all the things that shaders are capable of..?) but as people have mentioned it wouldn't be as quick as shaders so your framerate would probably suffer a fair bit.

But i would just suggest that you learn how to do shaders (if you don't know already), they seems quite confusing and hard when you don't understand them but they're not actually all that complicated if you put in some time to understand what's going on.
Image Image Image
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Ok I understand now why is it called POST processing and what is it.

@JP: I don't know shaders yet but I want to learn later on when I get some free time..

Thanks guys.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
fmx

Post by fmx »

whilst we're on the subject of POST-Processing effects, and WHY they're used...

jingquan, you mentioned you used HDR to "fix" your issues with blurred problems with "shaders" (I'm assuming);
could you possibly elaborate? Did you achieve it with Irrlicht?

I'm familiar with shaders, but I'd be interested to hear (as probably would others) how and where HDR can come into play to help with successfully achieving Post-Processing effects (particularly in relation to Irrlicht)

:)
oldskoolPunk
Posts: 199
Joined: Wed Nov 29, 2006 4:07 am

Post by oldskoolPunk »

Post means after.
Signature? I ain't signin nuthin!
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post by jingquan »

fmx wrote:whilst we're on the subject of POST-Processing effects, and WHY they're used...

jingquan, you mentioned you used HDR to "fix" your issues with blurred problems with "shaders" (I'm assuming);
could you possibly elaborate? Did you achieve it with Irrlicht?

I'm familiar with shaders, but I'd be interested to hear (as probably would others) how and where HDR can come into play to help with successfully achieving Post-Processing effects (particularly in relation to Irrlicht)

:)
Yep, I managed to inplement HDR in my engine (using IrrlichtCP), except the luminance adaption problem, which I'm not sure how to store textures from another frame.

I use a brightpass filter to cut off the dark areas, leaving only those bright areas bloomed. Then interpolate this result with the original. This definitely solved my blurry problem.

Of course, I tonemapped and tested for average luminance for HDR.
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

The most stupid post-processing i've seen so far is the grayscale screen. That can be achieved so easily by just converting every texture into grayscale mode. :?
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post by jingquan »

Actually greyscale textures could be quite useful if not rendered on it's own. The most simplest, working, postprocessing is invert i think :wink: : 1-color
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

jingquan wrote:Actually greyscale textures could be quite useful if not rendered on it's own.
That is useful when you need to switch dynamically from colour mode to greyscale mode; forth and back.
Post Reply