sortShadowcastersByRenderQueue
Sorts shadowcasting renderers by their render queue index when rendering shadows.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool sortShadowcastersByRenderQueue { get; set; }
Remarks
This is useful when doing stencil-based effects in the ShadowCaster pass, where control over the rendering order is required.