File: PointShadowNode.md | Updated: 11/15/2025
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 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.
---|---
shadowTexture | A reference to the shadow map's texture.
depthTexture | A reference to the shadow map's texture data.
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.