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.

    ValidityAndNormalBased

    The uvw used to sample APV data are warped to try to have invalid probe not contributing to lighting. Also, a geometric weight based on normal at sampling position and vector to probes is used. This only modifies the uvw used, but still sample a single time. It is effective in some situations (especially when occluding object contain probes inside) but ineffective in many other.

    ValidityBased

    The uvw used to sample APV data are warped to try to have invalid probe not contributing to lighting. This only modifies the uvw used, but still sample a single time. It is effective when using rendering layers or in some situations (especially when occluding object contain probes inside) but ineffective in many other.

    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 © 2024 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)