Method RequestSubShadowMapRendering
RequestSubShadowMapRendering(int)
Some lights render more than one shadow maps (e.g. cascade shadow maps or point lights). This method is used to request the rendering of specific shadow map when Update Mode is set to On Demand. For example, to request the update of a second cascade, shadowIndex should be 1. Note: if shadowIndex is a 0-based index and it must be lower than the number of shadow maps a light renders (i.e. cascade count for directional lights, 6 for point lights).
Declaration
public void RequestSubShadowMapRendering(int shadowIndex)
Parameters
Type | Name | Description |
---|---|---|
int | shadowIndex | The index of the subshadow to update. |