DrawShadows(ref ShadowDrawingSettings)
Schedules the drawing of shadow casters for a single Light.
Read time 1 minuteLast updated 5 days ago
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.