docs.unity.cn
    Show / Hide Table of Contents

    Enum APVLeakReductionMode

    Defines the method used to reduce leaking.

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

    Fields

    Name Description Value
    None

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


    0
    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.


    1

    Extension Methods

    AnalyticsUtils.ToNestedColumn<APVLeakReductionMode>(Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<APVLeakReductionMode>(APVLeakReductionMode, Boolean)
    ReflectionUtils.Invoke(String, Object[])
    ReflectionUtils.SetField(String, Object)
    ReflectionUtils.GetField(String)
    ReflectionUtils.GetFields()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023