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 |
---|---|
cascade |
Border size between the first and second cascade split. |
cascade |
Border size between the second and third cascade split. |
cascade |
Border size between the third and last cascade split. |
cascade |
Border size at the end of the last cascade split. |
cascade |
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. |
cascade |
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. |
cascade |
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. |
cascade |
Number of cascades HDRP uses for cascaded shadow maps. |
directional |
Multiplier for thick transmission for directional lights. |
max |
Sets the maximum distance HDRP renders shadows for all Light types. |
Properties
Name | Description |
---|---|
cascade |
Size of the border between each shadow cascades for directional lights. |
cascade |
Repartition of shadow cascade splits for directional lights. |
Methods
Name | Description |
---|---|
On |
OnAfterDeserialize. |
On |
OnBeforeSerialize. |