Enhancing sunrays using lens flares
A lens flare is a distraction in an image caused by stray light in the camera lens. There are two kinds of lens flares. One is directional, based on a cone (much the same as is used by a spotlight) and the other is radial (standard). Flares are a modified version of a particle, and have an editor much like Cascade, and their elements are made through the Material Editor. If you have been thorough with the chapters so far, you'll be kind of familiar with a lot of the steps required. The order of ceremonies is outlined in the UDN page: http://udn.epicgames.com/Three/LensFlareEditorUserGuide.html. In this recipe we are going to construct a lens flare from scratch to place in an existing lit scene.
Getting ready
From the provided content, open Packt_08_LensFlare_Start.UDK and note the big sun sphere hanging under the Skydome. Our lens flare effect will serve to complement it.
How to do it...
In the Content Browser, in your folder, right-click and choose New LensFlare...