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@15.0\\Library\\PackageCache\\com.unity.render-pipelines.core@15.0.7\\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. |