An OpenGL lens flare effect. Tested on Mac OSX.
To get started:
git submodule update --init --recursive
mkdir Build && cd Build
ccmake -G Xcode ..
- press
c
to configure,e
to exit config,g
to generate Xcode project
- press
open LensFlare.xcodeproj
Right-click and drag to pan the image.
Lens flare technique from John Chapman.
Boilerplate from Glitter a dead simple boilerplate for OpenGL.