Struct ProbeVolumeShadingParameters
Struct holiding the ProbeVolume shading parameters
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
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 |
---|---|
int |
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 |
---|---|
float |
normalBias
Normal bias to apply to the position used to sample probe volumes.
Declaration
public float normalBias
Field Value
Type | Description |
---|---|
float |
occlusionWeightContribution
Contribution of leak reduction weights.
Declaration
public float occlusionWeightContribution
Field Value
Type | Description |
---|---|
float |
reflNormalizationLowerClamp
Lower clamp value for reflection probe normalization.
Declaration
public float reflNormalizationLowerClamp
Field Value
Type | Description |
---|---|
float |
reflNormalizationUpperClamp
Upper clamp value for reflection probe normalization.
Declaration
public float reflNormalizationUpperClamp
Field Value
Type | Description |
---|---|
float |
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 |
---|---|
float |
scaleBiasByMinDistanceBetweenProbes
Whether to scale the biases with the minimum distance between probes.
Declaration
public bool scaleBiasByMinDistanceBetweenProbes
Field Value
Type | Description |
---|---|
bool |
viewBias
View bias to apply to the position used to sample probe volumes.
Declaration
public float viewBias
Field Value
Type | Description |
---|---|
float |
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 |
---|---|
float |