docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LightingDebugSettings

    Lighting Debug Settings.

    Inheritance
    object
    LightingDebugSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public class LightingDebugSettings

    Fields

    Name Description
    centerHistogramAroundMiddleGrey

    Whether to center the histogram debug view around the middle-grey point or not.

    clearCookieAtlas

    Clear cookie atlas each frame.

    clearReflectionProbeAtlas

    Clear reflection probe atlas each frame.

    clearShadowAtlas

    Clear shadow atlases each frame.

    clusterDebugDistance

    Distance at which clusters will be visualized.

    clusterDebugMode

    Cluster Debug mode.

    cookieAtlasMipLevel

    Mip level of the cookie cubemap display.

    cubeArraySliceIndex

    Index of the light cubemap to display.

    debugExposure

    Exposure compensation to apply on current scene exposure.

    debugLensAttenuation

    Obsolete, please use the lens attenuation mode in HDRP Global Settings.

    debugLightFilterMode

    Current Light Filtering.

    debugLightLayersFilterMask

    Current filtered Rendering Layer Mask.

    debugLightingMode

    Current Full Screen Lighting debug mode.

    debugRenderingLayersColors

    Rendering Layers Debug Colors.

    debugSelectionLightLayers

    True if filter should match Light Layer mask of the selected light.

    debugSelectionShadowLayers

    True if filter should match Custom Shadow Layer mask of the selected light.

    displayCookieAtlas

    Display the light cookies atlas.

    displayCookieCubeArray

    Display the light cookies cubemap array.

    displayFinalImageHistogramAsRGB

    Whether to show tonemap curve in the histogram debug view or not.

    displayLightVolumes

    Display lights bounding volumes as a transparent overlay in the scene.

    displayLocalVolumetricFogAtlas

    Display the Local Volumetric Fog atlas.

    displayMaskOnly

    Whether to show the only the mask in the picture in picture. If unchecked, the mask view is weighted by the scene color.

    displayOnSceneOverlay

    Whether to show the on scene overlay displaying pixels excluded by the exposure computation via histogram.

    displayReflectionProbeAtlas

    Display the reflection probe atlas.

    displaySkyReflection

    Display sky reflection cubemap as an overlay.

    exposureDebugMode

    Exposure debug mode.

    hdrDebugMode

    HDR debug mode.

    lightVolumeDebugByCategory

    Type of light bounding volumes to display.

    localVolumetricFogAtlasSlice

    Local Volumetric Fog atlas slice.

    localVolumetricFogUseSelection

    True if Local Volumetric Fog Atlas debug mode should be displayed for the currently selected Local Volumetric Fog.

    maxDebugLightCount

    Maximum number of lights against which the light overdraw gradient is displayed.

    overrideAlbedo

    Override albedo of the whole scene for lighting debug.

    overrideAlbedoValue

    Color used when overriding albedo.

    overrideAmbientOcclusion

    Override ambient occlusion of the whole scene for lighting debug.

    overrideAmbientOcclusionValue

    Value used when overriding ambient occlusion.

    overrideEmissiveColor

    Override emissive color of the whole scene for lighting debug.

    overrideEmissiveColorValue

    Color used when overriding emissive color.

    overrideNormal

    Override normal of the whole scene with object normals for lighting debug.

    overrideSmoothness

    Override smoothness of the whole scene for lighting debug.

    overrideSmoothnessValue

    Value used when overriding smoothness.

    overrideSpecularColor

    Override specular color of the whole scene for lighting debug.

    overrideSpecularColorValue

    Color used when overriding specular color.

    reflectionProbeApplyExposure

    Apply exposure to displayed atlas.

    reflectionProbeMipLevel

    Mip level of the reflection probe atlas display.

    reflectionProbeSlice

    Slice of the reflection probe atlas display.

    shadowDebugMode

    Current Shadow Maps debug mode.

    shadowDebugUseSelection

    True if Shadow Map debug mode should be displayed for the currently selected light.

    shadowMapIndex

    Index in the list of currently visible lights of the shadow map to display.

    shadowMaxValue

    Shadow Map debug display visual remapping maximum value.

    shadowMinValue

    Shadow Map debug display visual remapping minimum value.

    shadowResolutionScaleFactor

    Use this value to force a rescale of all shadow atlases.

    showAreaLight

    True if area lights should be displayed in the scene.

    showDirectionalLight

    True if directional lights should be displayed in the scene.

    showPunctualLight

    True if punctual lights should be displayed in the scene.

    showReflectionProbe

    True if reflection probes lights should be displayed in the scene.

    showTonemapCurveAlongHistogramView

    Whether to show tonemap curve in the histogram debug view or not.

    skyReflectionMipmap

    Mip map of the displayed sky reflection.

    tileClusterDebug

    Tile and Cluster debug mode.

    tileClusterDebugByCategory

    Category for tile and cluster debug mode.

    Methods

    Name Description
    IsDebugDisplayEnabled()

    Returns true if any lighting debug mode is enabled.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)