Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CullLightmappedShadowCasters

This culling invocation should cull static objects whose shadows have been baked in lightmaps.
Read time 1 minuteLast updated 6 days ago

Definition

CullLightmappedShadowCasters = 1

Remarks

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 BatchRendererGroup.OnPerformCulling callback should skip renderers that affect lightmaps, adding only dynamic shadow casters to the BatchCullingOutput.