Home

Awesome

Note

Hey! Actually check out this version instead: https://github.com/modanhan/unity-lens-flare-1

Unity Lens Flare

Lens Flare using Ghost features implemented in Unity.

Sample Image

Video

Check out this video!

https://www.youtube.com/watch?v=xzwo0muslE8

Concept

Original blog post by John Chapman: http://john-chapman-graphics.blogspot.ca/2013/02/pseudo-lens-flare.html

My implementation is a simplified version of the lens flare described in this blog optimized for Unity.

Usage

Attach script GhostLensFlare to the camera.

HDR rendering is highly recommended, altho not required, lens flare will not look correct without HDR and tonemapping.

Linear color space is recommended.

A test scene Main.unity is included. Notice the main camera also has bloom and tonemapping.

Notes

Known Issues