File: LensflareElement.md | Updated: 11/15/2025
Represents a single flare that can be added to a Lensflare container.
LensflareElement is an addon, and must be imported explicitly, see Installation#Addons.
import { LensflareElement } from 'three/addons/objects/Lensflare.js';
Constructs a new lensflare element.
texture | The flare's texture.
---|---
size | The size in pixels. Default is 1.
distance | The normalized distance ([0,1]) from the light source. A value of 0 means the flare is located at light source. Default is 0.
color | The flare's color
The flare's color
Default is (1,1,1).
The normalized distance ([0,1]) from the light source. A value of 0 means the flare is located at light source.
Default is 0.
The size in pixels.
Default is 1.
The flare's texture.