|
@@ -14,6 +14,8 @@
|
|
|
|
|
|
<div class="desc">Creates a simulated lens flare that tracks a light</div>
|
|
|
|
|
|
+ <div class="desc">NOTE: When integrating LensFlare into 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).</div>
|
|
|
+
|
|
|
<h2>Example</h2>
|
|
|
|
|
|
<div>[example:webgl_lensflares lensflares]</div>
|
|
@@ -77,10 +79,5 @@
|
|
|
<h2>Source</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
-
|
|
|
- <h2>Common pitfalls</h2>
|
|
|
- <div>
|
|
|
- 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).
|
|
|
- </div>
|
|
|
</body>
|
|
|
</html>
|