Class HDShadowSettings
Settings for shadows.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Shadowing/Shadows")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Override-Shadows.html")]
public class HDShadowSettings : VolumeComponent
필드
| 이름 | 설명 |
|---|---|
| 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. |
프로퍼티
| 이름 | 설명 |
|---|---|
| cascadeShadowBorders | Size of the border between each shadow cascades for directional lights. |
| cascadeShadowSplits | Repartition of shadow cascade splits for directional lights. |