Constructor
new ShadowBaseNode( light : Light )
Constructs a new shadow base node.
| light |
The shadow casting light. |
Properties
.isShadowBaseNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
.updateBeforeType : string
Overwritten since shadows are updated by default per render.
Default is 'render'.
- Overrides: Node#updateBeforeType
Methods
.setupShadowPosition( object : NodeBuilder )
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. |