docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum APVLeakReductionMode

    Defines the method used to reduce leaking.

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.core@17.0\\Packages\\com.unity.render-pipelines.core\\Runtime\\Lighting\\ProbeVolume\\ShaderVariablesProbeVolumes.cs")]
    public enum APVLeakReductionMode

    Fields

    Name Description
    None

    Nothing is done to prevent leaking. Cheapest option in terms of cost of sampling.

    Performance

    The uvw used to sample APV data are warped to try to have invalid probe not contributing to lighting. This samples APV a single time so it's a cheap option but will only work in the simplest cases.

    Quality

    This option samples APV between 1 and 3 times to provide the smoothest result without introducing artifacts. This is as expensive as Performance mode in the simplest cases, and is better and more expensive in the most complex cases.

    ValidityAndNormalBased

    Obsolete, kept for migration.

    ValidityBased

    Obsolete, kept for migration.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<APVLeakReductionMode>(APVLeakReductionMode, APVLeakReductionMode, bool)
    AnalyticsUtils.ToNestedColumn<APVLeakReductionMode>(APVLeakReductionMode, bool)
    AnalyticsUtils.ToNestedColumn<APVLeakReductionMode>(APVLeakReductionMode, APVLeakReductionMode)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)