File: ShadowBaseNode.md | Updated: 11/15/2025
Base class for all shadow nodes.
Shadow nodes encapsulate shadow related logic and are always coupled to lighting nodes. Lighting nodes might share the same shadow node type or use specific ones depending on their requirements.
Constructs a new shadow base node.
light | The shadow casting light.
---|---
This flag can be used for type testing.
Default is true.
The shadow casting light.
Overwritten since shadows are updated by default per render.
Default is 'render'.
Overrides: Node#updateBeforeType
Setups the shadow position node which is by default the predefined TSL node object shadowPositionWorld.
object | A configuration object that must at least hold a material reference.
---|---