Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Physical Lens Flare

Physical Lens Flare

Updated: 24 Feb 2025

Add a physically correct lens flare reflections and a starburst flare to the scene.

image

Example .dfx

Method #

This node simulates a lens setup to generate physically correct lens reflections and a starburst pattern from a given 3D transform point.

Parameters

ParameterDetails
Intensity TBC
Chroma TBC
Reflect Gamma TBC
Coating Quality TBC
Fresnel Spectrum TBC
Fresnel Variance TBC
Max Size TBC
Resolution TBC
  • Full : TBC
  • Half : TBC
  • Quarter : TBC

These properties control the core behaviours of the node.

ParameterDetails
Active Enables or disables the effect. Disabling the effect means it will no longer compute, so disabling a node when not in use can improve performance.
Viewport Info Show additional information in the viewwport about the Lens Setup.
  • Off : Don’t show additional information in the viewport.
  • Show Lenses : Show graph of the lens setup, and how the light is refracted and reflected in it.
Light Mode Effects the dimming of the lens reflections and starburst. Also controls the size of the starburst.
  • Near : The light source is treated as a near distance light. Size of the starburst is scaled based on the distance to the camera.
  • Distant : The light source is treated as an infinite sized distant light source. Size of the starburst is
Mask When on, uses a depth based mask area around the light point to cover areas of the lens reflections and/or starburst pattern.
  • Off : Don’t use the depth mask area.
  • All : Mask both starburst and the lens reflections.
  • Starburst : Mask the starburst pattern. Effects the aperture shape used for the starburst flare calculation.
  • Reflections : Mask the lens reflections. The masked light rays are dimmed out from the lens reflections, resulting in seeing the edge shapes of blocking geometry in the lens reflections.
ParameterDetails
Distance TBC
Sensor Scale TBC
IOR Multiplier TBC
IOR Variance TBC
IOR Variance Frequency TBC
Radius Multiplier TBC
Radius Variance TBC
Radius Variance Frequency TBC
ParameterDetails
Radius TBC
Angle TBC
Sharpness TBC
Blades Count TBC
Corner Rounding TBC
Dirt TBC
ParameterDetails
Mode TBC
  • Off : TBC
  • Spectral : TBC
Light Intensity TBC
Light Gamma TBC
Light Size TBC
Chroma Frequency TBC
Chroma Amount TBC
Aperture Sharpness TBC
Aperture Scale TBC
Aperture Dirt TBC

Inputs

NameDescriptionTypical Input
Transform NodeTBCTBC
Lens Dirt ImageTBCTBC
Starburst Dirt ImageTBCTBC
Light Dir XTBCTBC
Light Dir YTBCTBC
Ghost ScaleTBCTBC
IntensityTBCTBC
Reflect GammaTBCTBC
ChromaTBCTBC
Max SizeTBCTBC
Coating QualityTBCTBC
Fresnel VarianceTBCTBC
Fresnel SpectrumTBCTBC
IOR MultiplierTBCTBC
IOR VarianceTBCTBC
IOR Variance FrequencyTBCTBC
Radius MultiplierTBCTBC
Radius VarianceTBCTBC
Radius Variance FrequencyTBCTBC
DistanceTBCTBC
Sensor ScaleTBCTBC
RadiusTBCTBC
AngleTBCTBC
SharpnessTBCTBC
Blades CountTBCTBC
Corner RoundingTBCTBC
DirtTBCTBC
Chroma FrequencyTBCTBC
Chroma AmountTBCTBC
Light IntensityTBCTBC
Light GammaTBCTBC
Chroma ExponentTBCTBC
Light SizeTBCTBC
Aperture SharpnessTBCTBC
Aperture ScaleTBCTBC
Aperture DirtTBCTBC
ActiveTBCTBC
Blend AmountTBCTBC