Please allow use Texture (not only url) in LensFlare conctructor or static AddFlare method.
Now, if we create LF system can get warning:
“[.WebGL-0x2322bd977100]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.”
…because texture loading do not so fast, as scene create and play.
If we set ‘texture’ property of LensFlare object in a already loaded texture, no warnings invokes.