splitExclusionMask
A bitmask that represents the shadow splits in LightShadowCasterCullingInfo.splitRange Unity discards.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public ushort splitExclusionMask
Remarks
The bitmask is 8 bits. A bit value of 1 means Unity doesn't render the shadow split, so the CPU can end the culling job early. The least significant bit corresponds to the first shadow split, and each successive bit corresponds to the next shadow split. The maximum number of bits is the length of LightShadowCasterCullingInfo.splitRange.