Constructor
new PointLightNode( light : PointLight )
Constructs a new point light node.
| light |
The point light source. Default is |
Properties
.cutoffDistanceNode : UniformNode.<float>
Uniform node representing the cutoff distance.
.decayExponentNode : UniformNode.<float>
Uniform node representing the decay exponent.
Methods
.setupShadowNode() : PointShadowNode
Overwritten to setup point light specific shadow.
- Overrides: AnalyticLightNode#setupShadowNode
.update( frame : NodeFrame )
Overwritten to updated point light specific uniforms.
| frame |
A reference to the current node frame. |
- Overrides: AnalyticLightNode#update