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 |
---|---|
additionalLightsShadowmapHeight | The height of the additional light shadow map. |
additionalLightsShadowmapWidth | The width of the additional light shadow map. |
bias | A list of shadow bias. |
mainLightShadowCascadeBorder | 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. |
mainLightShadowCascadesCount | The number of shadow cascades. |
mainLightShadowCascadesSplit | The split between cascades. |
mainLightShadowmapHeight | The height of the main light shadow map. |
mainLightShadowmapWidth | The width of the main light shadow map. |
resolution | A list of resolution for the shadow maps. |
shadowmapDepthBufferBits | The number of bits used. |
supportsAdditionalLightShadows | True if additional lights shadows are enabled. |
supportsMainLightShadows | True if main light shadows are enabled. |
supportsSoftShadows | True if soft shadows are enabled. |