flare is an optical effect resulting from light scattered in a lens.
- Pass 1:
Render the scene to texture using FBO1.
- Pass 2:
Extract the bright parts of the image and put into FBO2.
- Pass 3:
Mirror bright parts by pivoting around the image centre forming
“ghosts”, and add to original rendered image.