Class HDShadowSettings
Settings for shadows.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenu("Shadowing/Shadows")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public class HDShadowSettings : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, ISerializationCallbackReceiver
Fields
Name | Description |
---|---|
cascadeShadowBorder0 | Border size between the first and second cascade split. |
cascadeShadowBorder1 | Border size between the second and third cascade split. |
cascadeShadowBorder2 | Border size between the third and last cascade split. |
cascadeShadowBorder3 | Border size at the end of the last cascade split. |
cascadeShadowSplit0 | Position of the first cascade split as a percentage of Max Distance if the parameter is normalized or as the distance from the camera if it's not normalized. |
cascadeShadowSplit1 | Position of the second cascade split as a percentage of Max Distance if the parameter is normalized or as the distance from the camera if it's not normalized. |
cascadeShadowSplit2 | Sets the position of the third cascade split as a percentage of Max Distance if the parameter is normalized or as the distance from the camera if it's not normalized. |
cascadeShadowSplitCount | Number of cascades HDRP uses for cascaded shadow maps. |
directionalTransmissionMultiplier | Multiplier for thick transmission for directional lights. |
maxShadowDistance | Sets the maximum distance HDRP renders shadows for all Light types. |
Properties
Name | Description |
---|---|
cascadeShadowBorders | Size of the border between each shadow cascades for directional lights. |
cascadeShadowSplits | Repartition of shadow cascade splits for directional lights. |
Methods
Name | Description |
---|---|
OnAfterDeserialize() | OnAfterDeserialize. |
OnBeforeSerialize() | OnBeforeSerialize. |