CullLightmappedShadowCasters
This culling invocation should cull static objects whose shadows have been baked in lightmaps.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.