|
@@ -50,12 +50,6 @@ scene.add( directionalLight );</code>
|
|
|
Default — *1.0*.
|
|
|
</div>
|
|
|
|
|
|
- <h3>.[page:Float distance]</h3>
|
|
|
- <div>
|
|
|
- If non-zero, light will attenuate linearly from maximum intensity at light *position* down to zero at *distance*.<br />
|
|
|
- Default — *0.0*.
|
|
|
- </div>
|
|
|
-
|
|
|
<h3>.[page:Boolean onlyShadow]</h3>
|
|
|
<div>
|
|
|
If set to *true* light will only cast shadow but not contribute any lighting (as if *intensity* was 0 but cheaper to compute).<br />
|