Creates a simulated lens flare that tracks a light.
[example:webgl_lensflares WebGL / lensflares]
var light = new THREE.PointLight( 0xffffff, 1.5, 2000 );
var textureLoader = new THREE.TextureLoader();
var textureFlare0 = textureLoader.load( "textures/lensflare/lensflare0.png" );
var textureFlare1 = textureLoader.load( "textures/lensflare/lensflare2.png" );
var textureFlare2 = textureLoader.load( "textures/lensflare/lensflare3.png" );
var lensflare = new THREE.Lensflare();
lensflare.addElement( new THREE.LensflareElement( textureFlare0, 512, 0 ) );
lensflare.addElement( new THREE.LensflareElement( textureFlare1, 512, 0 ) );
lensflare.addElement( new THREE.LensflareElement( textureFlare2, 60, 0.6 ) );
light.add( lensflare );
[page:Texture texture] - THREE.Texture to use for the flare.
[page:Float size] - (optional) size in pixels
[page:Float distance] - (optional) (0-1) from light source (0 = at light source)
[page:Color color] - (optional) the [page:Color] of the lens flare
See the base [page:Mesh] class for common properties.
[link:https://github.com/mrdoob/three.js/blob/master/examples/js/objects/Lensflare.js examples/js/objects/Lensflare.js]