ShadowBaseNode

Last modified: May 28, 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.

Constructor

new ShadowBaseNode(light)
ParameterTypeDefault Value
lightLight

Constructs a new shadow base node.

AccessorType

Properties

PropertyTypeDefault Value
lightLight
isShadowBaseNodeboolean
MethodType

Extends

Node

shadowPositionWorld

TSL object that represents the vertex position in world space during the shadow pass.

Type

Node<vec3>