shadowCasterChannelMask property

int shadowCasterChannelMask
getter/setter pair

The light channels whose nodes render into this light's shadow map, an 8-bit mask (default 0xFF, every channel). A node casts only when shadowCasterChannelMask & node.lightChannelMask is nonzero. Narrow it to keep bulky scenery out of the cascades without changing what the light illuminates.

Deliberately independent of channelMask, which selects what this light illuminates.

Implementation

int shadowCasterChannelMask;