Skip to content

readReceiveShadowsFlag

readReceiveShadowsFlag(): Node <"bool">

Defined in: packages/three-flatland/src/materials/instanceAttributes.ts:97

Read the per-instance receiveShadows flag (bit 1 of instanceSystem.z). Preset LightEffects call this in their shadow calculation to skip shadow for sprites that have opted out.

Node <"bool">