I'm trying to understand how post processing work.
From what I understood, I need to to something like that:
-> Bind render texture
-> Draw my scene
-> Unbind render texture
-> Draw a quad full screen using the resulting texture using a shader to apply an effect (blur, …)
The problem with that system is: How can I apply multiple effects on the resulting quad?
In my mind, I think applying the "effects" (shaders) on the resulting texture then drawing the quad his probably the best solution, but I don't know if it is possible.
Can I apply shaders on texture directly?
PS: Here is what I've done for the moment, I can draw all my scene in a texture currently:
A PostEffect class (an effect to apply)
EffectManager (create the output texture and have a method "add(PostEffect*)"