Class GlobalIllumination
A volume component that holds settings for the global illumination (screen space and ray traced).
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenu("Lighting/Screen Space Global Illumination")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class GlobalIllumination : VolumeComponentWithQuality, IApplyRevertPropertyContextMenuItemProvider
Fields
Name | Description |
---|---|
ambient |
Controls the dimmer applied to the ambient and legacy light probes. |
bounce |
Number of bounces for evaluating the effect. |
depth |
The thickness of the depth buffer value used for the ray marching step |
enable | Enable screen space global illumination. |
full |
Defines if the screen space global illumination should be evaluated at full resolution. |
last |
Controls the fallback hierarchy for lighting the last bounce. |
layer |
Defines the layers that GI should include. |
mode | Controls which version of the effect should be used. |
ray |
Controls the fallback hierarchy for indirect diffuse in case the ray misses. |
receiver |
When enabled, global illumination generated by moving objects will not be accumulated, generating less ghosting but introducing additional noise. |
sample |
Number of samples for evaluating the effect. |
texture |
The LOD Bias HDRP applies to textures in the global illumination. |
tracing |
Properties
Name | Description |
---|---|
clamp |
Controls the clamp of intensity. |
denoise | Defines if the ray traced global illumination should be denoised. |
denoise |
Defines if the screen space global illumination should be denoised. |
denoiser |
Controls the radius of the global illumination denoiser (First Pass). |
denoiser |
Controls the radius of the global illumination denoiser (First Pass). |
full |
Defines if the effect should be evaluated at full resolution. |
half |
Defines if the denoiser should be evaluated at half resolution. |
half |
Defines if the denoiser should be evaluated at half resolution. |
max |
Controls the number of steps used for the mixed tracing |
max |
The number of steps that should be used during the ray marching pass. |
ray |
Controls the length of GI rays in meters. |
second |
Defines if the second denoising pass should be enabled. |
second |
Defines if the second denoising pass should be enabled. |