Import
SunLightNode is an addon, and must be imported explicitly, see Installation#Addons.
import { SunLightNode } from 'three/addons/lights/SunLightNode.js';
Constructor
new SunLightNode( light : SunLight )
Constructs a new sun light node.
| light |
The sun light source. Default is |
Methods
.setupShadowNode() : SunShadowNode
Overwritten to setup the cascaded shadows of sun lights.
- Overrides: AnalyticLightNode#setupShadowNode
- Returns: The created shadow node.