Version: 2022.3

BatchCullingFlags.CullLightmappedShadowCasters

切换到手册

描述

This culling invocation should cull static objects whose shadows have been baked in lightmaps.

This flag will only be set when BatchCullingContext.viewType is BatchCullingViewType.Light, for lights that use a mixture of baked and dynamic shadows. When set, the implementation of the OnPerformCulling callback should skip renderers that affect lightmaps, adding only dynamic shadow casters to the BatchCullingOutput.