LensFlare
Realistic camera lens flare with artifacts.
Props
lightPosition
Position of the light source
- Type
- {x: number, y: number}
- Default
- {"x":0.3,"y":0.3}
intensity
Master brightness of the entire lens flare effect
- Type
- number
- Default
- 0.5
ghostIntensity
Brightness of internal reflection ghost discs along the flare axis
- Type
- number
- Default
- 0.4
ghostSpread
Spacing between ghost reflections along the flare axis
- Type
- number
- Default
- 0.7
ghostChroma
Rainbow chromatic fringing around ghost element edges
- Type
- number
- Default
- 0.3
haloIntensity
Brightness of the circular halo ring from internal reflection
- Type
- number
- Default
- 0.4
haloRadius
Radius of the halo ring
- Type
- number
- Default
- 0.6
haloChroma
Spectral dispersion on the halo creating rainbow color separation
- Type
- number
- Default
- 0.6
haloSoftness
Thickness and softness of the halo ring
- Type
- number
- Default
- 0.8
starburstIntensity
Brightness of diffraction spikes radiating from the light source
- Type
- number
- Default
- 0.3
starburstPoints
Number of starburst spikes (simulates aperture blade count)
- Type
- number
- Default
- 6
streakIntensity
Brightness of horizontal anamorphic light streak
- Type
- number
- Default
- 0.15
streakLength
Horizontal extent of the anamorphic streak
- Type
- number
- Default
- 0.5
glareIntensity
Soft veiling glare that washes out contrast around the light
- Type
- number
- Default
- 0.2
glareSize
Size of the soft glare glow
- Type
- number
- Default
- 0.5
edgeFade
How much the flare fades when the light source is near the screen edge (0 = no fade, 1 = heavy fade)
- Type
- number
- Default
- 0.2
speed
Speed of subtle flare shimmer and starburst rotation
- Type
- number
- Default
- 0.5