Inheritance: EventDispatcher → Node → LightingNode → AnalyticLightNode → SpotLightNode →
An IES version of the default spot light node.
Constructs a new IES spot light node.
light
The spot light source.
Default is null.
The texture node representing the IES texture.
Default is null.
Overwrites the default implementation to compute an IES conform spot attenuation.
builder
The node builder.
angleCosine
The angle to compute the spot attenuation for.
Overrides: SpotLightNode#getSpotAttenuation
Returns: The spot attenuation.
Overwritten to update the IES spot light texture.
frame
A reference to the current node frame.
Overrides: SpotLightNode#update