docs.unity3d.com
    Show / Hide Table of Contents

    Struct HDShadowInitParameters

    Shadows Global Settings.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public struct HDShadowInitParameters

    Fields

    allowDirectionalMixedCachedShadows

    Maximum shadow map resolution for directional lights.

    Declaration
    public bool allowDirectionalMixedCachedShadows
    Field Value
    Type Description
    Boolean

    areaLightShadowAtlas

    Initialization parameters for area shadows atlas.

    Declaration
    public HDShadowInitParameters.HDShadowAtlasInitParams areaLightShadowAtlas
    Field Value
    Type Description
    HDShadowInitParameters.HDShadowAtlasInitParams

    cachedAreaLightShadowAtlas

    Resolution for the area lights cached shadow maps atlas.

    Declaration
    public int cachedAreaLightShadowAtlas
    Field Value
    Type Description
    Int32

    cachedPunctualLightShadowAtlas

    Resolution for the punctual lights cached shadow maps atlas.

    Declaration
    public int cachedPunctualLightShadowAtlas
    Field Value
    Type Description
    Int32

    directionalShadowsDepthBits

    Depth bits for directional shadows.

    Declaration
    public DepthBits directionalShadowsDepthBits
    Field Value
    Type Description
    DepthBits

    maxAreaShadowMapResolution

    Maximum shadow map resolution for area lights.

    Declaration
    public int maxAreaShadowMapResolution
    Field Value
    Type Description
    Int32

    maxDirectionalShadowMapResolution

    Maximum shadow map resolution for directional lights.

    Declaration
    public int maxDirectionalShadowMapResolution
    Field Value
    Type Description
    Int32

    maxPunctualShadowMapResolution

    Maximum shadow map resolution for punctual lights.

    Declaration
    public int maxPunctualShadowMapResolution
    Field Value
    Type Description
    Int32

    maxScreenSpaceShadowSlots

    Maximum number of screen space shadows.

    Declaration
    public int maxScreenSpaceShadowSlots
    Field Value
    Type Description
    Int32

    maxShadowRequests

    Maximum number of shadow requests at the same time.

    Declaration
    public int maxShadowRequests
    Field Value
    Type Description
    Int32

    punctualLightShadowAtlas

    Initialization parameters for punctual shadows atlas.

    Declaration
    public HDShadowInitParameters.HDShadowAtlasInitParams punctualLightShadowAtlas
    Field Value
    Type Description
    HDShadowInitParameters.HDShadowAtlasInitParams

    screenSpaceShadowBufferFormat

    Format for screen space shadows.

    Declaration
    public ScreenSpaceShadowFormat screenSpaceShadowBufferFormat
    Field Value
    Type Description
    ScreenSpaceShadowFormat

    shadowFilteringQuality

    Shadow filtering quality.

    Declaration
    [FormerlySerializedAs("shadowQuality")]
    public HDShadowFilteringQuality shadowFilteringQuality
    Field Value
    Type Description
    HDShadowFilteringQuality

    shadowResolutionArea

    Shadow scalable resolution for area lights.

    Declaration
    public IntScalableSetting shadowResolutionArea
    Field Value
    Type Description
    IntScalableSetting

    shadowResolutionDirectional

    Shadow scalable resolution for directional lights.

    Declaration
    public IntScalableSetting shadowResolutionDirectional
    Field Value
    Type Description
    IntScalableSetting

    shadowResolutionPunctual

    Shadow scalable resolution for point lights.

    Declaration
    public IntScalableSetting shadowResolutionPunctual
    Field Value
    Type Description
    IntScalableSetting

    supportScreenSpaceShadows

    Enable support for screen space shadows.

    Declaration
    public bool supportScreenSpaceShadows
    Field Value
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023