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 |
|---|---|
| ambientProbeDimmer | Controls the dimmer applied to the ambient and legacy light probes. |
| bounceCount | Number of bounces for evaluating the effect. |
| depthBufferThickness | The thickness of the depth buffer value used for the ray marching step |
| enable | Enable screen space global illumination. |
| fullResolutionSS | Defines if the screen space global illumination should be evaluated at full resolution. |
| lastBounceFallbackHierarchy | Controls the fallback hierarchy for lighting the last bounce. |
| layerMask | Defines the layers that GI should include. |
| mode | Controls which version of the effect should be used. |
| rayMiss | Controls the fallback hierarchy for indirect diffuse in case the ray misses. |
| receiverMotionRejection | When enabled, global illumination generated by moving objects will not be accumulated, generating less ghosting but introducing additional noise. |
| sampleCount | Number of samples for evaluating the effect. |
| textureLodBias | The LOD Bias HDRP applies to textures in the global illumination. |
| tracing |
Properties
| Name | Description |
|---|---|
| clampValue | Controls the clamp of intensity. |
| denoise | Defines if the ray traced global illumination should be denoised. |
| denoiseSS | Defines if the screen space global illumination should be denoised. |
| denoiserRadius | Controls the radius of the global illumination denoiser (First Pass). |
| denoiserRadiusSS | Controls the radius of the global illumination denoiser (First Pass). |
| fullResolution | Defines if the effect should be evaluated at full resolution. |
| halfResolutionDenoiser | Defines if the denoiser should be evaluated at half resolution. |
| halfResolutionDenoiserSS | Defines if the denoiser should be evaluated at half resolution. |
| maxMixedRaySteps | Controls the number of steps used for the mixed tracing |
| maxRaySteps | The number of steps that should be used during the ray marching pass. |
| rayLength | Controls the length of GI rays in meters. |
| secondDenoiserPass | Defines if the second denoising pass should be enabled. |
| secondDenoiserPassSS | Defines if the second denoising pass should be enabled. |