Struct ShadowData
Container struct for various data used for shadows in URP.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public struct ShadowData
Fields
Name | Description |
---|---|
additional |
The height of the additional light shadow map. |
additional |
The width of the additional light shadow map. |
bias | A list of shadow bias. |
main |
Main light last cascade shadow fade border. Value represents the width of shadow fade that ranges from 0 to 1. Where value 0 is used for no shadow fade. |
main |
The number of shadow cascades. |
main |
The split between cascades. |
main |
The height of the main light shadow map. |
main |
The width of the main light shadow map. |
resolution | A list of resolution for the shadow maps. |
shadowmap |
The number of bits used. |
supports |
True if additional lights shadows are enabled. |
supports |
True if main light shadows are enabled. |
supports |
True if soft shadows are enabled. |