Capítulo 135 de 859
Module for representing point lights as nodes.
Constructor
| Signature |
|---|
new PointLightNode( light : PointLight ) |
Properties
| Property | Description |
|---|---|
.cutoffDistanceNode : UniformNode.<float> | Uniform node representing the cutoff distance. |
.decayExponentNode : UniformNode.<float> | Uniform node representing the decay exponent. |
Methods
| Method | Description |
|---|---|
.setupShadowNode() : PointShadowNode | Overwritten to setup point light specific shadow. |
.update( frame : NodeFrame ) | Overwritten to updated point light specific uniforms. |