- texture -- THREE.Texture (optional)
- size -- size in pixels (-1 = use texture.width)
- distance -- (0-1) from light source (0 = at light source)
- blending -- [page:Materials Blending Mode] - Defaults to THREE.NormalBlending
- color -- The color of the lens flare
-
-
- Automatically adds a lens flare to the lensFlares array if a texture is set.
-
-
-
Properties
-
-
-
-
[property:array lensFlares]
-
- The array of flares as set by [page:LensFlare.add]
-
+ texture -- THREE.Texture (optional)
+ size -- size in pixels (-1 = use texture.width)
+ distance -- (0-1) from light source (0 = at light source)
+ blending -- [page:Materials Blending Mode] - Defaults to THREE.NormalBlending
+ color -- The color of the lens flare
+
+
+ Automatically adds a lens flare to the lensFlares array if a texture is set.
+
+
+
Properties
+
+
+
+
[property:array lensFlares]
+
+ The array of flares as set by [page:LensFlare.add]
+
+ When integrating LensFlare to your existing project, make sure that your WebGLRenderer object has the "alpha" property set to TRUE. If not, then no LensFlare will ever display at all (they will always remain transparent).
+