DocsGRADEReference

Lens Flare

1 min read

On this page

Procedural lens flares from bright lights and the sun: ghosts along the flare axis, halo ring, starburst and rainbow fringes.

Studio categoryCinema
Pipeline stageScene (scene-linear HDR, before the tonemapper)
Default position14 in its stage
Works inLive views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level
C++ / BlueprintFGradeLayer::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).

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.LensFlare.Enabledon/offoffTurns this on or off (the other values are kept while it is off).
IntensityEffects.LensFlare.Intensity0..100, keyable40Overall strength, 0..100.
ThresholdEffects.LensFlare.Threshold0..124Brightness (EV above mid grey) where flares start.
Ghost CountEffects.LensFlare.GhostCount0..8, integer5Number of ghosts, 0..8.
Ghost SpacingEffects.LensFlare.GhostSpacing0..10045Spacing of the ghosts along the flare axis, 0..100.
ChromaticEffects.LensFlare.Chromatic0..10050Rainbow fringes of the ghosts and halo, 0..100.
HaloEffects.LensFlare.Halo0..10030Halo ring around the centre, 0..100.
Halo RadiusEffects.LensFlare.HaloRadius0..10055Halo ring radius, 0..100.
StarburstEffects.LensFlare.Starburst0..10035Starburst / diffraction spikes on the light source, 0..100.
Star PointsEffects.LensFlare.StarPoints4..18, integer6Number of starburst spikes (aperture blades x2 for even counts).
Sun FlareEffects.LensFlare.SunFlareon/offonAdd a sun flare from the brightest directional light when the sun is on screen.
TintEffects.LensFlare.Tint.R/G/B/Acolour(1, 0.92, 0.8)

Generated from the GRADE C++ headers. Back to the reference index.