docs.unity.cn
    Show / Hide Table of Contents

    Struct ProbeVolumeShadingParameters

    Struct holiding the ProbeVolume shading parameters

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Rendering
    Syntax
    public struct ProbeVolumeShadingParameters

    Fields

    frameIndexForNoise

    The frame index to be used to animate the sampling noise if requested.

    Declaration
    public int frameIndexForNoise
    Field Value
    Type Description
    Int32

    leakReductionMode

    Method used for leak reduction.

    Declaration
    public APVLeakReductionMode leakReductionMode
    Field Value
    Type Description
    APVLeakReductionMode

    minValidNormalWeight

    The minimum value that dot(N, vectorToProbe) need to have to be considered valid.

    Declaration
    public float minValidNormalWeight
    Field Value
    Type Description
    Single

    normalBias

    Normal bias to apply to the position used to sample probe volumes.

    Declaration
    public float normalBias
    Field Value
    Type Description
    Single

    occlusionWeightContribution

    Contribution of leak reduction weights.

    Declaration
    public float occlusionWeightContribution
    Field Value
    Type Description
    Single

    reflNormalizationLowerClamp

    Lower clamp value for reflection probe normalization.

    Declaration
    public float reflNormalizationLowerClamp
    Field Value
    Type Description
    Single

    reflNormalizationUpperClamp

    Upper clamp value for reflection probe normalization.

    Declaration
    public float reflNormalizationUpperClamp
    Field Value
    Type Description
    Single

    samplingNoise

    Noise to be applied to the sampling position. It can hide seams issues between subdivision levels, but introduces noise.

    Declaration
    public float samplingNoise
    Field Value
    Type Description
    Single

    scaleBiasByMinDistanceBetweenProbes

    Whether to scale the biases with the minimum distance between probes.

    Declaration
    public bool scaleBiasByMinDistanceBetweenProbes
    Field Value
    Type Description
    Boolean

    viewBias

    View bias to apply to the position used to sample probe volumes.

    Declaration
    public float viewBias
    Field Value
    Type Description
    Single

    weight

    Global probe volumes weight. Allows for fading out probe volumes influence falling back to ambient probe.

    Declaration
    public float weight
    Field Value
    Type Description
    Single

    Extension Methods

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