|
@@ -52,6 +52,13 @@ scene.add( light );
|
|
|
Vedi la classe base [page:Light Light] per le proprietà comuni.
|
|
|
</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>
|
|
|
The amount the light dims along the distance of the light. Default is `2`.<br />
|