Lens Flare
On this page
Procedural lens flares from bright lights and the sun: ghosts along the flare axis, halo ring, starburst and rainbow fringes.
| Studio category | Cinema |
|---|---|
| Pipeline stage | Scene (scene-linear HDR, before the tonemapper) |
| Default position | 14 in its stage |
| Works in | Live views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level |
| C++ / Blueprint | FGradeLayer::Effects.LensFlare (FGradeLensFlare) |
Manual: Lens Flare. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Procedural lens flares from the bright parts of the scene and the sun: ghosts, halo ring, starburst, chromatic fringes (scene).
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.LensFlare.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Intensity | Effects.LensFlare.Intensity | 0..100, keyable | 40 | Overall strength, 0..100. |
| Threshold | Effects.LensFlare.Threshold | 0..12 | 4 | Brightness (EV above mid grey) where flares start. |
| Ghost Count | Effects.LensFlare.GhostCount | 0..8, integer | 5 | Number of ghosts, 0..8. |
| Ghost Spacing | Effects.LensFlare.GhostSpacing | 0..100 | 45 | Spacing of the ghosts along the flare axis, 0..100. |
| Chromatic | Effects.LensFlare.Chromatic | 0..100 | 50 | Rainbow fringes of the ghosts and halo, 0..100. |
| Halo | Effects.LensFlare.Halo | 0..100 | 30 | Halo ring around the centre, 0..100. |
| Halo Radius | Effects.LensFlare.HaloRadius | 0..100 | 55 | Halo ring radius, 0..100. |
| Starburst | Effects.LensFlare.Starburst | 0..100 | 35 | Starburst / diffraction spikes on the light source, 0..100. |
| Star Points | Effects.LensFlare.StarPoints | 4..18, integer | 6 | Number of starburst spikes (aperture blades x2 for even counts). |
| Sun Flare | Effects.LensFlare.SunFlare | on/off | on | Add a sun flare from the brightest directional light when the sun is on screen. |
| Tint | Effects.LensFlare.Tint.R/G/B/A | colour | (1, 0.92, 0.8) |
Generated from the GRADE C++ headers. Back to the reference index.