FUSION · FULL ARTICLE
LensFlare
LensFlare builds an optical flare around a chosen position: a central spot, rays, broad glare and ghost reflections. Control the source, occlusion and individual elements separately.
Overview
Start with Position, the location of the simulated bright source. Lens Center locates the virtual lens center. The line between them defines the ghost optical path. Moving the source rearranges reflections; moving Lens Center shifts their common pivot.
Flare Alone shows the generated effect, while Final Result composites it against the image. Use isolation to identify an excessive element, then return to the final image. A view mode alone does not guarantee the alpha needed for external compositing.
Source masking builds a quick luminance mask. Mask Threshold separates dark occluders, while Virtual Light Source Size controls how gradually the source disappears behind them. This controls occlusion rather than Flare Spot size, which is adjusted separately in Elements.
Move With Sizing retains the source relative position when Resolve Input and Editing sizing change. It is neither compensation for Global Scaling animation nor an automatic Fusion tracker. Check which positioning controls are available when moving a workflow between Resolve pages.
The aperture defines Starburst geometry and Aperture Shape ghosts. The manual specifies 3–16 blades: an even count gives the same number of rays, while an odd count gives twice as many. This diffraction rule does not double the ghost count.
Show Controls for selects the component being edited. Full-Screen Glare increases near the frame center, Flare Spot creates the central light, Starburst forms rays, and Ghost layers create internal reflections. The supplied Inspector lists Ghost 1–8, whereas the Resolve 21 manual describes seven ghost layers. Check the actual list in your version; the lessons use only Ghost 1.
Ghost shape determines the available controls: None disables a layer, Aperture Shape follows the aperture, Anamorphic Streak creates a horizontal streak, and Disc Shape, Bubble Shape and Corona Rays create different ring structures. Center Brightness, Edge Brightness, Height, Bristle and Ringing depend on the selected shape.
For local compositing, compare the complete Final Result with the original using a normal Merge. The Merge mask limits the processed image contribution but does not replace source occlusion. If you need a separate Flare Alone layer, inspect its RGB/alpha before choosing additive compositing.
Legacy-name mapping: a universal Element Strength, NGon Angle/Sides/Starryness and Lens Color/Alpha are not part of the confirmed Resolve FX Lens Flare inventory. Use Glare Brightness, Flare/Starburst Size, Ghost Size/Position/Type/Color and Aperture Blades/Angle in their respective groups. This is a note about older material, not additional controls.
When to use it
- A sun or headlight partly occluded by a silhouette.
- A controlled optical accent around a real light source.
- Constructing a custom flare from a spot, rays and one ghost.
- Blending the effect locally against the original image.
Article screenshots
Inputs & outputs
LensFlare · image path
Resolve FX Lens Flare is a Studio effect with a manually positioned source, optical element presets and global corrections. Light Source Masking attenuates the source behind dark objects; it does not automatically locate or track the sun.
Resolve FX Lens Flare is a Studio effect with a manually positioned source, optical element presets and global corrections. Light Source Masking attenuates the source behind dark objects; it does not automatically locate or track the sun.
Inputs
- Input
Source image
Receives: An RGBA image from MediaIn, Background or Text+. Alpha remains a channel within this image, not a separate mask connection.
Inside the node: Resolve FX Lens Flare is a Studio effect with a manually positioned source, optical element presets and global corrections. Light Source Masking attenuates the source behind dark objects; it does not automatically locate or track the sun.
Typical sources: MediaIn · Background · Text+
The Resolve FX manual does not inventory the Fusion wrapper sockets. This guide shows the established image path; local compositing is handled by Merge.
Outputs and destination
Output
The selected image stage: source, isolated effect or final composite. Choose the intended stage and inspect alpha before delivery.
Next step: Merge · MediaOut
An isolated RGB effect does not guarantee delivery-ready transparency. Blend a Final Result branch normally against the original.
- Output
- The selected output-view image; check the selected stage, RGB and alpha before final output.
Processing order
- Connect MediaIn → LensFlare → MediaOut and choose a frame with an identifiable light source.
- Choose a preset, place Position on the source and temporarily inspect Flare Alone.
- For occlusion, enable Light Source Masking and inspect Preview Mask and Virtual Light Source Size.
- Adjust Global Brightness, Global Scaling and Anamorphism, then refine individual Elements.
Source behind a silhouette: position and gradual occlusion
MediaIn → LensFlare → MediaOut
Separate source placement from luminance-mask attenuation.
The Resolve FX manual does not inventory the Fusion wrapper sockets. This guide shows the established image path; local compositing is handled by Merge.
Parameters
LensFlare · Inspector and result checks
Position locates the source; Lens Center anchors reflections; Masking controls source visibility; Elements define the flare; Global Corrections set its overall character; Composite Type blends it with the image.
- Source
- Position and occlusion
- Shape
- Aperture and elements
- Balance
- Light, color and scale
- Composite
- Image and transparency
Output · View and blend
Identify the source and initial flare character.
- Flare Alone / Final Result
Output > Flare Alone / Final ResultChoose the isolated flare or final composite. Flare Alone isolates the effect; Final Result displays it over the source. Inspect the isolated result alpha separately.
Check / distinguish: Disable diagnostic views before delivery.
- Lens Flare Preset
Output > Lens Flare PresetStarting configuration of optical elements. The capture lists Default, Blank, MIR-1 2.8/37, Late Afternoon, Headlight, 1970s Sci-Fi, Modern Sci-Fi, Anamorphic Handycam and Custom. Manual changes switch the configuration to Custom; names do not certify an exact physical lens model.
Check / distinguish: Record the selected preset before extensive manual edits.
- Composite Type
Output > Composite TypeBlend the effect with the source. The visible menu includes Normal, Add, Subtract, Difference, Multiply, Screen, Overlay, Hard Light, Softlight, Darken, Lighten, Color Dodge, Color Burn, Exclusion and Hue. The menu scrolls, so this is not an exhaustive list. Add intensifies light; Screen is generally gentler.
Check / distinguish: Compare modes at a fixed brightness and Viewer transform.
- Final Result · normal external blend
Workflow > MergeUse Normal when blending the original with a complete Final Result. Add would add the source twice. Flare Alone requires separate RGB/alpha inspection.
Check / distinguish: Blend=0 shows the original.
Source masking · Source visibility
Occlusion controls whether the source contributes.
- Light Source Masking
Source masking > Light Source MaskingAttenuate the source behind luminance-keyed occluders. Enables Mask Threshold and Virtual Light Source Size. It helps a sun disappear behind trees but does not set a new Position or track an object.
Check / distinguish: Inspect the mask on an actual source occlusion.
- Mask Threshold
Source masking > Mask ThresholdThreshold for the quick luminance mask. Raising the threshold excludes darker areas from passing the source. Excessive thresholds can suppress the source itself; bright occluders may remain difficult to separate.
Check / distinguish: Inspect Preview Mask before judging the final flare.
- Preview Mask
Source masking > Preview MaskInspect the source mask. The supplied Inspector uses a Preview Mask checkbox; the manual describes Source Mask and Magnified Source Mask. View labels can differ by wrapper and version.
Check / distinguish: Turn it off after evaluating the threshold.
- Virtual Light Source Size
Source masking > Virtual Light Source SizeControl how gradually the virtual source disappears. A larger source disappears more gradually behind the luminance-mask boundary. This does not replace Flare Size or overall defocus.
Check / distinguish: Compare two sizes across the same occlusion.
- Preview Source Spot
Source masking > Preview Source SpotPreview the virtual source region. The checkbox is visible in the original capture. It helps inspect Position and the region used for masking; the manual does not specify the diagnostic overlay shape in detail.
Check / distinguish: Do not leave the diagnostic spot enabled.
- Occlusion ≠ output mask
Workflow > MaskingLight Source Masking attenuates the source. A separate Merge mask limits final compositing and can crop an already generated flare.
Check / distinguish: Choose the intended masking stage.
Position · Source and lens center
These are different coordinate roles.
- Position X / Y
Position > Position X / YCoordinates of the optical flare source. The normalized pair 0.5/0.5 locates the center. Ghost positions follow the line from this source to Lens Center. Match coordinates to the actual light in the Viewer.
Check / distinguish: Animate Position when the source moves; masking does not track it.
- Move With Sizing
Position > Move With SizingRetain position during Input/Editing sizing. The manual ties this checkbox to Resolve Input and Editing sizing. It is not a link to Global Scaling or a separate Fusion tracker.
Check / distinguish: After reframing, inspect relative placement in the Viewer.
- Lens Center Position X / Y
Position > Lens Center Position X / YPivot of the simulated lens. Moving the center changes the axis about which reflections pivot and are positioned. It is not a second bright source.
Check / distinguish: Begin at 0.5/0.5 and move it for a deliberate compositional reason.
Global corrections · Overall character
Apply global corrections after position and masking.
- Global Scaling
Global corrections > Global ScalingOverall scale of flare elements. Scales the elements together. Position and Lens Center remain separate controls; scaling cannot repair a misplaced source.
Check / distinguish: After overall scaling, refine only the elements that need individual Size changes.
- Anamorphism
Global corrections > AnamorphismHorizontal anamorphic stretching. The manual describes horizontal stretching of all elements. The capture shows a neutral 1.0; distinguish this from the height of an individual Anamorphic Streak.
Check / distinguish: Compare proportions while holding Global Scaling fixed.
- Global Defocus
Global corrections > Global DefocusOverall blur of the optical elements. Softens the complete flare. If only one ghost is too sharp, adjust its Softness before blurring every element.
Check / distinguish: Inspect boundaries at 100% scale.
- Global Brightness
Global corrections > Global BrightnessOverall flare intensity. Adjusts the overall effect contribution rather than source threshold. Evaluate both dark and bright areas of Final Result.
Check / distinguish: Start moderately and review motion.
- Global Saturation
Global corrections > Global SaturationOverall color intensity. Lowering it subdues colored reflections; raising it intensifies them. It is a global adjustment over the individual element colors.
Check / distinguish: Do not use desaturation to conceal excessive brightness.
- Colorize Result
Global corrections > Colorize ResultAmount of the overall Colorization Color tint. At 0 no colorization is applied. Increasing it gives the selected tint greater influence.
Check / distinguish: Inspect Colorize Result=0 first.
- Colorization Color / Red / Green / Blue
Global corrections > Colorization Color / Red / Green / BlueColor used for global tinting. The color picker, eyedropper and Red/Green/Blue controls define one color. Colorize Result sets its contribution; white is not an opacity control.
Check / distinguish: Sample the actual source color for plausible optics.
Aperture · Aperture geometry
Blades affect shapes and diffraction rays.
- Aperture Blades
Aperture > Aperture BladesAperture blade count. BMD specifies 3–16. Even counts yield the same number of diffraction rays; odd counts yield twice as many. This affects Starburst and Aperture Shape ghosts.
Check / distinguish: Compare 6 and 5 with angle and brightness fixed.
- Aperture Angle
Aperture > Aperture AngleRotate the aperture shape. The Inspector labels this Angle within Aperture. It rotates aperture geometry without moving Position.
Check / distinguish: Refine angle after choosing blade count.
Elements · Flare components
Select a specific component before editing.
- Show Controls for
Elements > Show Controls forSelect the component to edit. Opens Full-Screen Glare, Flare Spot, Starburst or a selected ghost. This navigates controls rather than isolating that element in the Viewer.
Check / distinguish: Temporarily reduce other elements when comparing one component.
- Full-Screen Glare: Glare Brightness
Elements > Full-Screen Glare: Glare BrightnessIntensity of full-frame glare. Glare increases as the source approaches the center and decreases toward the edges. Glare Brightness=0 removes its contribution.
Check / distinguish: Inspect the middle of the source path as well as its edge.
- Glare Color / Red / Green / Blue
Elements > Glare Color / Red / Green / BlueTint of the broad glare. These RGB fields belong to Full-Screen Glare. They do not replace individual Flare Color, Starburst Color or Ghost Color controls.
Check / distinguish: Adjust color at moderate Glare Brightness.
- Flare Spot
Elements > Flare SpotCentral source spot. Flare Size controls size and removes the spot at 0; Flare Irregularity offsets symmetry; Flare Softness softens it; Flare Color sets its tint.
Check / distinguish: Change visible spot size here, not through Virtual Light Source Size.
- Starburst
Elements > StarburstDiffraction rays around the source. Starburst Size removes rays at 0; Softness softens them; Split Angle widens the split pattern; Split Balance adjusts the relative brightness of its halves; Color sets the tint.
Check / distinguish: Choose aperture geometry before Split Angle and Softness.
- Ghost 1–8
Elements > Ghost 1–8Individual reflections along the optical path. The capture lists Ghost 1–8; the Resolve 21 text describes seven ghosts. Adjust the layers available in your build. None disables a selected layer.
Check / distinguish: Begin with Ghost 1; the lessons do not require an eighth layer.
- Ghost / Size
Elements > Ghost / SizeSize of the selected Ghost; width for Anamorphic Streak. The specific controls are Flare Size, Starburst Size or ghost Size. For Anamorphic Streak, Size sets width and Height sets thickness.
Check / distinguish: Identify the selected element before adjusting size.
- Ghost / Position
Elements > Ghost / PositionGhost position on the source-to-lens axis. Ghost Position is a scalar along the optical path rather than a free X/Y pair. The manual places 0 at Lens Position and moves the element farther away as the value increases.
Check / distinguish: Distinguish Ghost Position from the source Position X/Y.
- Ghost / Type
Elements > Ghost / TypeChoose a ghost shape. Documented choices are None, Aperture Shape, Anamorphic Streak, Disc Shape, Bubble Shape and Corona Rays. Additional controls depend on the selected shape.
Check / distinguish: Choose the shape before Center/Edge Brightness and Ringing.
- Flare Spot · irregularity and softness
Elements > Flare SpotFlare Size=0 disables the spot; Irregularity offsets symmetry and Softness softens it. These controls do not define occlusion.
Check / distinguish: Choose spot size after position.
- Starburst · split controls
Elements > StarburstSplit Angle separates ray halves and Split Balance changes their relative brightness. Aperture geometry establishes ray count first.
Check / distinguish: Compare with the aperture held fixed.
- Ghost · conditional brightness
Elements > Ghost > ShapeCenter Brightness applies to Aperture, Disc and Anamorphic Streak; Edge Brightness applies to all shapes except Anamorphic Streak. These controls distinguish filled and outlined elements.
Check / distinguish: Check the fields exposed by the selected shape.
- Anamorphic Streak · width / height
Elements > GhostSize sets width and Height sets vertical thickness. This shapes one ghost; Anamorphism affects the whole flare.
Check / distinguish: Change local and global geometry separately.
- Corona Rays · bristles
Elements > Ghost > Corona RaysBristle Density changes bristle count and distribution. The manual states that lower Bristle Scale makes thicker bristles, while higher values make smaller, more tightly packed bristles.
Check / distinguish: Inspect the pattern at 100% scale.
- Ringing and chromatic shift
Elements > GhostRinging increases rings or streaks on all shapes except Bubble. Chromatic shift adds color separation; it styles the element rather than correcting source aberration.
Check / distinguish: Judge the shape before adding chromatic shift.
- Eclipse · position / size / softness
Elements > Ghost > EclipsePosition=0 means no eclipse. Positive values push occlusion from inside the frame outward; negative values move it from outside inward. Size sets coverage and Softness softens the boundary.
Check / distinguish: Inspect the ghost in Flare Alone.
- Eclipse · chromatic shift
Elements > Ghost > EclipseAt the eclipse boundary, positive Chromatic shift tends toward blue and negative toward red; 0 has no shift.
Check / distinguish: Inspect edges before global defocus.
- Repeat · deterministic variation
Elements > Ghost > RepeatRepeat spawns duplicates; Repeat Position Seed and Repeat Size Seed redistribute their positions and sizes. A seed is not animation speed.
Check / distinguish: Hold seeds fixed while comparing controls.
- Ghost count · installed version
Inspector > ElementsThe capture shows Ghost 1–8 while BMD21 describes seven ghost layers. This source difference does not justify inventing a missing eighth layer.
Check / distinguish: Check the actual installed list.
Before adjusting the node
- Position matches the light and is checked through motion.
- Inspect Mask Threshold and Virtual Light Source Size across occlusion.
- Choose Aperture and the ghost shape before their dependent controls.
- Disable Preview Mask and Preview Source Spot, then select Final Result.
- Inspect dark/bright regions, RGB/alpha and avoid adding the source twice.
Reference documentation
- Blackmagic Design · DaVinci Resolve 21 Reference Manual · Resolve FX Light · Lens Flare
Resolve FX Light · Lens Flare, starting on page 3661. Control labels are cross-checked with the original screenshots in this article.
Examples
Source behind a silhouette: position and gradual occlusion
Separate source placement from luminance-mask attenuation.
Starting conditions
DaVinci Resolve / Fusion DaVinci Resolve 21 Reference Manual; supplied Inspector screenshots · DaVinci Resolve Studio 21 · Supported OS; native Resolve execution has not been performed
1920 × 1080 · 24 fps · 96 frames · Teaching composition using an opaque SDR Rec.709 source; use the same Viewer transform for every comparison branch.
- Use a 1920×1080 composition at 24 fps for 96 frames; numbers are a repeatable starting point, then evaluate the actual source in the Viewer.
Source material
- SRC
An owned SDR frame with a bright light source and dark surroundings, alpha=1.
A still extended to 96 frames is suitable; use your own image.
Nodes and connections
SRC— Source image · MediaInFX— LensFlare · LensFlareOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Source image (SRC)Output | LensFlare (FX)Input | image |
LensFlare (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- LensFlare (FX) / Controls / Select Output
"Final Result"The final image includes source and flare.
- LensFlare (FX) / Controls / Lens Flare Preset
"Default"Use a recognizable starting configuration.
- LensFlare (FX) / Controls / Position
[0.3,0.75]Teaching position: align it with the source in your chosen frame.
- LensFlare (FX) / Controls / Global Brightness
0.3Moderate intensity for initial light inspection.
- LensFlare (FX) / Controls / Composite Type
"Add"Initial light-addition blend.
- LensFlare (FX) / Controls / Light Source Masking
trueThe source should disappear behind a dark boundary.
- LensFlare (FX) / Controls / Mask Threshold
0.5Initial isolation threshold; refine using Preview Mask.
- LensFlare (FX) / Controls / Virtual Light Source Size
1Baseline occlusion softness.
Reproduce the example
- Feed your frame into LensFlare and select Default.
Establish the initial configuration before placing the source.
Check: Final Result shows the source image.
- Place Position on the lamp or sun, then temporarily select Flare Alone.
The source and Lens Center have different roles.
Check: The main spot aligns with the intended light.
- Enable Preview Mask and adjust Mask Threshold to locate a bright region beside a dark silhouette. Disable Preview Mask; move Position manually across that boundary with Virtual Light Source Size=1, then with 2. Restore Position to the light source.
Virtual source size changes the transition behind an occluder.
Check: The silhouette limits the source; visible spot size is not the criterion.
- Restore Virtual Light Source Size=1, disable both previews, select Final Result and review the full range.
Diagnostic views must not remain in the final output.
Check: The source disappears where the mask explains it, without position jumps.
Expected result
- Result (OUT) · frame 48
A restrained flare matches the source; occluders attenuate it through the mask.
Alpha: Inspect the final A channel separately for the opaque source.
When the result differs
- The flare floats beside the lamp.
Cause: Position does not match the source.
Correction: Align Position; masking does not change coordinates.
- The flare never disappears.
Cause: The threshold passes the occluder or masking is disabled.
Correction: Inspect Preview Mask and actual source occlusion.
Files for the example
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Lens Flare (Studio)
Chapter 160, printed pp. 3661–3664; supplied Inspector screenshots establish visible menu labels and version-specific differences. Image-only teaching contract; the Resolve FX chapter does not inventory Fusion wrapper sockets.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Custom flare: spot, Starburst and one ghost
Build a readable element set and observe how aperture geometry affects rays.
Starting conditions
DaVinci Resolve / Fusion DaVinci Resolve 21 Reference Manual; supplied Inspector screenshots · DaVinci Resolve Studio 21 · Supported OS; native Resolve execution has not been performed
1920 × 1080 · 24 fps · 96 frames · Teaching composition using an opaque SDR Rec.709 source; use the same Viewer transform for every comparison branch.
- Use a 1920×1080 composition at 24 fps for 96 frames; numbers are a repeatable starting point, then evaluate the actual source in the Viewer.
Nodes and connections
BG— Dark background · BackgroundFX— LensFlare · LensFlareOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Dark background (BG)Output | LensFlare (FX)Input | image |
LensFlare (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Dark background (BG) / Controls / Color
[0.02,0.02,0.025,1]Opaque dark background for structural inspection.
- LensFlare (FX) / Controls / Lens Flare Preset
"Blank"Remove a preset multi-element pattern.
- LensFlare (FX) / Controls / Select Output
"Final Result"Inspect over the chosen background.
- LensFlare (FX) / Controls / Position
[0.3,0.7]An off-center source exposes the optical axis.
- LensFlare (FX) / Controls / Aperture Blades
6Start with an even blade count.
- LensFlare (FX) / Controls / Aperture / Angle
0Fixed comparison angle.
- LensFlare (FX) / Controls / Flare Spot / Flare Size
0.3A moderate central spot.
- LensFlare (FX) / Controls / Starburst / Starburst Size
0.2A small ray element.
- LensFlare (FX) / Controls / Ghost 1 / Shape
"Aperture Shape"Compare the ghost with overall aperture geometry.
- LensFlare (FX) / Controls / Ghost 1 / Size
0.2Keep the ghost shape visible.
- LensFlare (FX) / Controls / Ghost 1 / Position
1Initial optical-path position.
- LensFlare (FX) / Controls / Global Brightness
0.4Limit overall contribution.
Reproduce the example
- Build Background → LensFlare → MediaOut and choose Blank.
An empty set makes individual components easier to understand.
Check: The chain contains no hidden source image.
- Use Show Controls for to open Flare Spot and Starburst, set their sizes, then enable Ghost 1 with Aperture Shape.
The menu opens controls but does not isolate an element.
Check: One ghost and two source components are visible; other ghosts remain None.
- Compare Aperture Blades=6 and 5 at Angle=0, then restore 6.
An odd blade count doubles the diffraction-ray count.
Check: Aperture Shape and Starburst change; ghost count does not.
- Move Position horizontally and restore it, then try Lens Center separately.
The two positions change the optical axis in different ways.
Check: Restore Position=0.3/0.7 and Lens Center=0.5/0.5 after comparison.
Expected result
- Result (OUT) · frame 48
The dark background reveals a central spot, rays and one aperture-shaped ghost.
Alpha: The opaque background defines the base; inspect output alpha.
When the result differs
- Blank shows nothing.
Cause: Components remain disabled or their size is zero.
Correction: Set Flare Size, Starburst Size and the Ghost 1 shape.
- Changing Show Controls for does not change the Viewer.
Cause: It selects the controls to edit.
Correction: Adjust the selected component while holding others fixed.
Files for the example
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Lens Flare (Studio)
Chapter 160, printed pp. 3661–3664; supplied Inspector screenshots establish visible menu labels and version-specific differences. Image-only teaching contract; the Resolve FX chapter does not inventory Fusion wrapper sockets.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Local intensity without doubling the source
Blend the full processed image with the original through explicit image branches and a Merge mask.
Starting conditions
DaVinci Resolve / Fusion DaVinci Resolve 21 Reference Manual; supplied Inspector screenshots · DaVinci Resolve Studio 21 · Supported OS; native Resolve execution has not been performed
1920 × 1080 · 24 fps · 96 frames · Teaching composition using an opaque SDR Rec.709 source; use the same Viewer transform for every comparison branch.
- Use a 1920×1080 composition at 24 fps for 96 frames; numbers are a repeatable starting point, then evaluate the actual source in the Viewer.
Source material
- SRC
An owned SDR frame with a bright light source and dark surroundings, alpha=1.
A still extended to 96 frames is suitable; use your own image.
Nodes and connections
SRC— Original · MediaInFX— LensFlare / Final Result · LensFlareMASK— Soft blend region · RectangleMaskMIX— Original + processed · MergeOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Original (SRC)Output | LensFlare / Final Result (FX)Input | image |
Original (SRC)Output | Original + processed (MIX)Background | image |
LensFlare / Final Result (FX)Output | Original + processed (MIX)Foreground | image |
Soft blend region (MASK)Mask | Original + processed (MIX)EffectMask | mask |
Original + processed (MIX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Soft blend region (MASK) / Controls / Center
[0.5,0.5]Center of the comparison region.
- Soft blend region (MASK) / Controls / Width
0.7Keep clean source visible near the sides.
- Soft blend region (MASK) / Controls / Height
0.7Limit the vertical blend region.
- Soft blend region (MASK) / Controls / Soft Edge
0.08Soften the blend transition, not source extraction.
- Original + processed (MIX) / Controls / Apply Mode
"Normal"Blend two complete images without adding the source a second time.
- Original + processed (MIX) / Controls / Blend
0.35Contribution of the processed branch within the local region.
- LensFlare / Final Result (FX) / Controls / Select Output
"Final Result"Feed the full processed frame to Merge.
- LensFlare / Final Result (FX) / Controls / Lens Flare Preset
"Default"Baseline optical effect.
- LensFlare / Final Result (FX) / Controls / Position
[0.3,0.75]Align to the chosen source image.
- LensFlare / Final Result (FX) / Controls / Global Brightness
0.5A visible effect for branch comparison.
Reproduce the example
- Branch MediaIn to LensFlare and Merge.Background; feed LensFlare to Merge.Foreground.
Both branches contain the same original frame.
Check: Both image branches enter the correct Merge inputs.
- Connect Rectangle.Mask to Merge.EffectMask and define a soft region.
This mask controls final blending, a different stage from source occlusion.
Check: Outside the region, the original remains visible.
- Keep Apply Mode=Normal and compare Blend=0, 1 and 0.35.
Add would double the source already included in Final Result.
Check: Blend=0 restores the original; 1 shows the complete effect locally.
- Restore Blend=0.35 and inspect whether the mask boundary crops ghosts or long rays.
A local mask can disrupt the optical pattern.
Check: The transition is soft; RGB and alpha have been inspected separately.
Expected result
- Result (OUT) · frame 48
The flare appears in the chosen area with a soft transition; outer regions show the original.
Alpha: Inspect A after Merge, especially if replacing the source with transparent graphics.
When the result differs
- The entire image becomes much brighter.
Cause: The external Merge adds two complete images using Add.
Correction: Restore Normal; Final Result already contains the source.
- A ghost is cut at the mask edge.
Cause: The mask clips the completed optical pattern.
Correction: Expand or soften the region; use Source Masking for occlusion.
Files for the example
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Lens Flare (Studio)
Chapter 160, printed pp. 3661–3664; supplied Inspector screenshots establish visible menu labels and version-specific differences. Image-only teaching contract; the Resolve FX chapter does not inventory Fusion wrapper sockets.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Other outlines from the article
Source behind a silhouette: position and gradual occlusion
Separate source placement from luminance-mask attenuation.
- MediaIn
- LensFlare
- MediaOut
Custom flare: spot, Starburst and one ghost
Build a readable element set and observe how aperture geometry affects rays.
- Background
- LensFlare
- MediaOut
Local intensity without doubling the source
Blend the full processed image with the original through explicit image branches and a Merge mask.
- MediaIn
- LensFlare
- RectangleMask
- Merge
- MediaOut
Mistakes
- Treating Light Source Masking as automatic source detection or tracking.
- Using Virtual Light Source Size to enlarge the visible central spot.
- Assuming Move With Sizing compensates for Global Scaling.
- Increasing the whole flare when only one ghost needs emphasis.
- Looking for separate NGon sliders in Resolve FX Lens Flare.
- Adding the original and Final Result together, which adds the source twice.
- Leaving Preview Mask or Flare Alone enabled for final output.
Tips
- Lower Global Brightness first, then retain only the elements the shot needs.
- Start a custom flare from Blank with one ghost to simplify inspection.
- Inspect the flare as it crosses the frame center, where Full-Screen Glare may increase.
- Adjust Position and Lens Center independently to see their different roles.
- For transparent graphics, inspect RGB, A and the result over two backgrounds.
Workflow order
- Connect MediaIn → LensFlare → MediaOut and choose a frame with an identifiable light source.
- Choose a preset, place Position on the source and temporarily inspect Flare Alone.
- For occlusion, enable Light Source Masking and inspect Preview Mask and Virtual Light Source Size.
- Adjust Global Brightness, Global Scaling and Anamorphism, then refine individual Elements.
- Return to Final Result and compare Add/Screen on the same frame with other settings held fixed.
- Inspect motion, frame edges, dark occluders and alpha. Use a separate Merge for external localization.
