Inheritance: EventDispatcher → Node → ShadowBaseNode → ShadowNode →
Represents the shadow implementation for point light nodes.
Constructs a new point shadow node.
light
The shadow casting point light.
shadow
An optional point light shadow.
Default is null.
Overwrites the default implementation to return point light shadow specific filtering functions.
type
The shadow type.
Overrides: ShadowNode#getShadowFilterFn
Returns: The filtering function.
Overwrites the default implementation with point light specific rendering code.
frame
A reference to the current node frame.
Overrides: ShadowNode#renderShadow
Overwrites the default implementation to create a CubeRenderTarget with CubeDepthTexture.
shadow
The light shadow object.
builder
A reference to the current node builder.
Returns: An object containing the shadow map and depth texture.
Overwrites the default implementation so the unaltered shadow position is used.
builder
A reference to the current node builder.
shadowPosition
A node representing the shadow position.
Overrides: ShadowNode#setupShadowCoord
Returns: The shadow coordinates.
Overwrites the default implementation to only use point light specific shadow filter functions.
builder
A reference to the current node builder.
inputs
A configuration object that defines the shadow filtering.
filterFn
This function defines the filtering type of the shadow map e.g. PCF.
depthTexture
A reference to the shadow map's depth texture.
shadowCoord
Shadow coordinates which are used to sample from the shadow map.
shadow
The light shadow.
Overrides: ShadowNode#setupShadowFilter
Returns: The result node of the shadow filtering.