prisoner52
02-17-2011, 05:33 AM
Hi
im wondering what the best method is for creating bloom effects.
at the moment Iam using a 2nd FBO to redraw the entire scene and making the objects that don't glow transparent. then use vertical and horizontal blurs and get the texture and overlay this on my scene.
but this has slowed my fps down because i am rendering everything twice. :sorrow:
Is there a better way of doing this so that objects are only rendered once?
or else putting the FBO in a different thread but i don't know if thats possible or if it would improve peformance.
any ideas?
thanks
im wondering what the best method is for creating bloom effects.
at the moment Iam using a 2nd FBO to redraw the entire scene and making the objects that don't glow transparent. then use vertical and horizontal blurs and get the texture and overlay this on my scene.
but this has slowed my fps down because i am rendering everything twice. :sorrow:
Is there a better way of doing this so that objects are only rendered once?
or else putting the FBO in a different thread but i don't know if thats possible or if it would improve peformance.
any ideas?
thanks