Sky and Atmosphere
Lens Flare


Lens Flare adds a lens flare to the sun of your level. Start from a preset, then change one layer at a time: ghosts, glow, glare, streaks and a starburst.
How It Works
The Lens Flare actor finds the level's sun and draws the flare from the sun's position in the frame.
- The flare is added to the image before bloom. Exposure, bloom and the tonemapper treat it like the rest of the light in the frame.
- A brighter sun gives a brighter flare.
- The flare dims when something covers the sun in the depth buffer.
Unreal's own Lens Flares settings, in a Post Process Volume, draw a bokeh shape from the bright pixels of the frame, with 8 tints. Lens Flare follows the sun and builds its look from layers, including real lens designs.
What It Fixes
| The problem | What to do |
|---|---|
| A shot into the sun has no lens in it. | Drag in a Lens Flare and pick a preset. |
| Unreal's lens flare reacts to every bright pixel in the frame. | Use Lens Flare with Highlights at 0, the default. It follows the sun only. |
| The flare shows through a building or a tree. | Keep Enabled on under Occlusion. |
| The flare is too strong or too busy. | Lower Intensity, or turn off layers. |
| You can't tell what one layer adds. | Open the layer's menu and select Solo. |
| You want the ghosts of a specific lens. | Add Traced Ghosts and pick a lens design. |
| The flare costs too much in gameplay. | Lower Quality. |
| The flare should fade in a cutscene. | Key Intensity in Sequencer. |
What's Included
- 3 presets: Orbital, Warm Anamorphic Daylight and Vintage Prime Sunrise.
- 8 layer types: Ghost, Traced Ghosts, Glow, Glare, Halo, Starburst, Streak and Dirt Mask.
- 3 lens designs for Traced Ghosts: 50mm Prime (Double-Gauss), 22mm Wide Angle and 250mm Telephoto.
- Lens controls: Aperture (F-stop), Diaphragm Blade Count and Coating.
- Occlusion: dims the flare when something covers the sun.
- 5 Quality levels: Auto, Low, Medium, High and Cinematic.
- 6 textures: for lens dirt, ghosts, halos, rays and streaks, in the plugin's LensFlare/Textures folder.
- Your own presets: Save as New Preset..., Update Preset and Revert to Preset.
- Sequencer: key Intensity and Tint.
Placing a Lens Flare
In the Place Actors panel, click the L Suite category.
Drag Lens Flare into the viewport.
Look toward the sun in the viewport.
You should see: the flare when the sun is in or near the frame. A new Lens Flare starts with the Orbital preset.
In the Details panel, click the Preset box (1) and choose a preset.
You should see: the flare changes to that look.

The Lens Flare in the Details panel. 1 Preset. 2 Intensity of the whole flare. 3 Sun.
The flare finds the level's sun on its own. To pick another directional light, set the Sun row (3).
Note: Every Lens Flare in a level draws, and their light adds up. Use one per level.
Built-in Presets
| Preset | Look |
|---|---|
| Orbital | Four colored reflections circle the sun, with soft haze and fine rays. |
| Warm Anamorphic Daylight | Warm daylight with a large soft bloom and a chain of blue and violet ghosts. |
| Vintage Prime Sunrise | A low warm sun through a vintage lens, with soft rainbow rings and small colored ghosts. |
The same shot without and with a Lens Flare. Look below the sun, on the line through the frame center.

No Lens FlareWarm Anamorphic DaylightNo Lens Flare: Unreal's sun alone. Warm Anamorphic Daylight: a cluster of blue ghosts at the lower right, on the line from the sun through the frame center.
Picking a preset copies its layers into the flare. Later changes to the preset don't reach the flare.
Under the Preset row:
- Save as New Preset... saves the current look as a preset in your project.
- Update Preset saves your changes into your own preset. Built-in presets can't be updated.
- Revert to Preset applies the preset again.
Working with Layers
The Layers section lists the flare's layers. The + button adds a layer.
- Click a layer's checkbox to turn it on or off.
- Open the layer's menu and select Solo to see that layer alone.
- Change the layer's Intensity and Tint.
- Select Restore Layers to bring the other layers back.
You should see: each layer adds one part of the look. Restore the layers before you save a look.
The layer menu also has Insert, Delete and Duplicate. Drag a layer's handle to reorder the list. Layers add up, so the order doesn't change the image.
Layer Types
| Layer | What it draws |
|---|---|
| Ghost | A reflection between two lens surfaces, placed along the line from the sun through the frame center. |
| Traced Ghosts | Ghosts traced through a real lens design (50mm Prime (Double-Gauss), 22mm Wide Angle or 250mm Telephoto). They change as the sun moves. |
| Glow | Soft light around the sun. |
| Glare | Light scattered in the lens that lifts the dark parts of the image. |
| Halo | A ring around the frame center, brightest on the sun's side. |
| Starburst | Spikes from the aperture blades. |
| Streak | A long thin line through the sun, like an anamorphic lens. |
| Dirt Mask | Smudges and dust on the lens, lit near the sun. It needs a texture. |
Every layer has Intensity (1 is the authored look, 0 hides it) and Tint. More rows are in the layer's Advanced group.
Main Flare Settings
| Property | Description |
|---|---|
| Intensity | Brightness of the whole flare. A brighter sun also gives a brighter flare. Default 1. |
| Tint | Colors the whole flare. |
| Sun | The directional light the flare comes from. Empty: the level's sun. |
| Replace Unreal Lens Flare | On (default): turns off Unreal's lens flare in the views where this flare draws. Under Sun, Advanced. |
| Aperture (F-stop) | The lens aperture. Starbursts are strongest at f/8 to f/16 and fade wide open. |
| Diaphragm Blade Count | Number of aperture blades. Shapes the ghosts and sets the starburst's spikes. |
| Coating | The lens coating that colors the ghosts: Custom, Multi-Coated, Single-Coated or Uncoated. |
| Highlights | How much bright pixels away from the sun, such as lamps and fire, make ghosts too. 0 (default) is the sun only. |
| Enabled (Occlusion) | Dims the flare when buildings, trees or characters cover the sun. On by default. |
| Quality | Auto, Low (up to 4 ghosts), Medium (up to 8), High (up to 16) or Cinematic (for renders). |
Aperture, Diaphragm Blade Count and Coating show only while a layer uses them.
Additional Notes
Why is a layer missing?
Open the Message Log. Common reasons: more Ghost layers than the Quality allows, a second Traced Ghosts layer, or a Dirt Mask without a texture (it offers Use Smudged Glass).
How do I test the flare?
Move the camera so the sun crosses the frame. The ghosts should move with it. Move something in front of the sun. The flare should dim.
Limitations
- The layers follow one Directional Light. To add flares from lamps, raise Highlights, or turn off Replace Unreal Lens Flare and use Unreal's Lens Flares settings as well.
- One per level. Every Lens Flare draws. The Message Log offers Select Others, so you can delete or hide the rest.
- Occlusion reads the depth buffer only. Clouds in an HDRI don't dim the flare, and neither does anything that doesn't write depth. To dim it for a passing cloud, key Intensity in Sequencer.
- Nothing blocks a sun outside the frame. The depth buffer ends at the frame, so a sun past the edge counts as open sky. The flare fades out as the sun leaves the frame.
- No flare in captures or reflections. It doesn't draw in Scene Captures, Reflection Captures or Planar Reflections.
- Quality limits the layers. Low draws up to 4 Ghost layers and no Dirt Mask. Medium draws up to 8. High and Cinematic draw up to 16. Raise Quality or turn off some layers.
- One lens per flare. Only the first Traced Ghosts layer draws.
- 8 textures per flare. Layers past that draw without their texture. Share textures between layers.
- Sequencer keys Intensity and Tint only. To change the whole look during play, call Set Settings in Blueprint.
- Higher Quality costs more. Traced Ghosts takes almost all of the cost, and Cinematic is the most expensive. Keep Cinematic for renders.
- Shader Model 5 or higher. The flare doesn't draw on lower feature levels, such as Mobile.
- A Sun that isn't loaded gives no flare. If the Sun row points at a light in a level that isn't loaded, the flare doesn't pick another. Leave Sun empty to use the level's sun.