DrawShadows(ref ShadowDrawingSettings)
Schedules the drawing of shadow casters for a single Light.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
DrawShadows(ShadowDrawingSettings)
public void DrawShadows(ref ShadowDrawingSettings settings)
Parameters
Specifies which set of shadow casters to draw, and how to draw them.
Remarks
Please note that in the case of DrawShadows called multiple times for the same light and using split spheres, shadow casters whose shadow volumes are fully covered by an earlier split will be discarded in following splits for performance reasons. One should thus use the split with the smallest index in case of split overlaps.
Additional Resources: CullingResults, ShadowDrawingSettings.