|
@@ -51,6 +51,13 @@ scene.add( light );
|
|
|
<p>
|
|
|
See the base [page:Light Light] class for common properties.
|
|
|
</p>
|
|
|
+
|
|
|
+ <h3>[property:Boolean castShadow]</h3>
|
|
|
+ <p>
|
|
|
+ If set to `true` light will cast dynamic shadows. *Warning*: This is expensive and
|
|
|
+ requires tweaking to get shadows looking right. See the [page:PointLightShadow] for details.
|
|
|
+ The default is `false`.
|
|
|
+ </p>
|
|
|
|
|
|
<h3>[property:Float decay]</h3>
|
|
|
<p>
|