Class GlobalLightingQualitySettings
Global lighting quality settings.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public sealed class GlobalLightingQualitySettings
Fields
AOBilateralUpsample
Ambient Occlusion uses bilateral upsample for each quality level. The array must have one entry per scalable setting level.
Declaration
public bool[] AOBilateralUpsample
Field Value
| Type | Description |
|---|---|
| bool[] |
AODirectionCount
Ambient Occlusion direction count for each quality level. The array must have one entry per scalable setting level, and elements must be between 1 and 6.
Declaration
[Range(1, 6)]
public int[] AODirectionCount
Field Value
| Type | Description |
|---|---|
| int[] |
AOFullRes
Ambient Occlusion uses full resolution buffer for each quality level. The array must have one entry per scalable setting level.
Declaration
public bool[] AOFullRes
Field Value
| Type | Description |
|---|---|
| bool[] |
AOMaximumRadiusPixels
Ambient Occlusion maximum radius for each quality level. The array must have one entry per scalable setting level, and elements must be between 16 and 256.
Declaration
[Range(16, 256)]
public int[] AOMaximumRadiusPixels
Field Value
| Type | Description |
|---|---|
| int[] |
AOStepCount
Ambient Occlusion step count for each quality level. The array must have one entry per scalable setting level, and elements must be between 2 and 32.
Declaration
[Range(2, 32)]
public int[] AOStepCount
Field Value
| Type | Description |
|---|---|
| int[] |
ContactShadowSampleCount
Contact shadow sample count for each quality level. The array must have one entry per scalable setting level, and elements must be between 4 and 64.
Declaration
[Range(4, 64)]
public int[] ContactShadowSampleCount
Field Value
| Type | Description |
|---|---|
| int[] |
Fog_Budget
Controls the budget of the volumetric fog effect. The array must have one entry per scalable setting level, and elements must be between 0 and 1.
Declaration
[Range(0, 1)]
public float[] Fog_Budget
Field Value
| Type | Description |
|---|---|
| float[] |
Fog_ControlMode
Controls which control mode should be used to define the volumetric fog parameters. The array must have one entry per scalable setting level.
Declaration
public FogControl[] Fog_ControlMode
Field Value
| Type | Description |
|---|---|
| FogControl[] |
Fog_DepthRatio
Controls how the budget is shared between screen resolution and depth. The array must have one entry per scalable setting level, and elements must be between 0 and 1.
Declaration
[Range(0, 1)]
public float[] Fog_DepthRatio
Field Value
| Type | Description |
|---|---|
| float[] |
RTAODenoise
Defines if the ray traced ambient occlusion should be denoised. The array must have one entry per scalable setting level.
Declaration
public bool[] RTAODenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
RTAODenoiserRadius
Controls the radius of the ray traced ambient occlusion denoiser. The array must have one entry per scalable setting level, and elements must be between 0.001 and 1.
Declaration
[Range(0.001, 1)]
public float[] RTAODenoiserRadius
Field Value
| Type | Description |
|---|---|
| float[] |
RTAORayLength
Controls the length of ray traced ambient occlusion rays. The array must have one entry per scalable setting level, and elements must above 0.01.
Declaration
[Min(0.01)]
public float[] RTAORayLength
Field Value
| Type | Description |
|---|---|
| float[] |
RTAOSampleCount
Number of samples for evaluating the effect. The array must have one entry per scalable setting level, and elements must be between 1 and 64.
Declaration
[Range(1, 64)]
public int[] RTAOSampleCount
Field Value
| Type | Description |
|---|---|
| int[] |
RTGIClampValue
Clamp value used to reduce the variance in the integration signal. The array must have one entry per scalable setting level, and elements must be between 0.001 and 10.
Declaration
[Range(0.001, 10)]
public float[] RTGIClampValue
Field Value
| Type | Description |
|---|---|
| float[] |
RTGIDenoise
Flag that enables the first denoising pass. The array must have one entry per scalable setting level.
Declaration
public bool[] RTGIDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
RTGIDenoiserRadius
Flag that defines the radius of the first denoiser. The array must have one entry per scalable setting level, and elements must be between 0.001 and 1.0.
Declaration
[Range(0.001, 1)]
public float[] RTGIDenoiserRadius
Field Value
| Type | Description |
|---|---|
| float[] |
RTGIFullResolution
Controls if the effect should be computed at full resolution. The array must have one entry per scalable setting level.
Declaration
public bool[] RTGIFullResolution
Field Value
| Type | Description |
|---|---|
| bool[] |
RTGIHalfResDenoise
Flag that defines if the denoiser should be evaluated at half resolution. The array must have one entry per scalable setting level.
Declaration
public bool[] RTGIHalfResDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
RTGIRayLength
Controls the length of ray traced global illumination rays. The array must have one entry per scalable setting level, and elements must above 0.01.
Declaration
[Min(0.01)]
public float[] RTGIRayLength
Field Value
| Type | Description |
|---|---|
| float[] |
RTGIRaySteps
Controls the number of ray steps for hybrid tracing. The array must have one entry per scalable setting level, and elements must above 0.
Declaration
[Min(0)]
public int[] RTGIRaySteps
Field Value
| Type | Description |
|---|---|
| int[] |
RTGISecondDenoise
Flag that enables the second denoising pass. The array must have one entry per scalable setting level.
Declaration
public bool[] RTGISecondDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
RTRClampValue
Clamp value used to reduce the variance in the integration signal. The array must have one entry per scalable setting level, and elements must be between 0.001 and 10.
Declaration
[Range(0.001, 10)]
public float[] RTRClampValue
Field Value
| Type | Description |
|---|---|
| float[] |
RTRDenoise
Flag that enables the first denoising pass. The array must have one entry per scalable setting level.
Declaration
public bool[] RTRDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
RTRDenoiserAntiFlicker
Flag that defines the radius of the first denoiser. The array must have one entry per scalable setting level, and elements must be between 1 and 32.
Declaration
[Range(0, 1)]
public float[] RTRDenoiserAntiFlicker
Field Value
| Type | Description |
|---|---|
| float[] |
RTRDenoiserRadiusDimmer
Flag that defines the radius of the denoiser. The array must have one entry per scalable setting level.
Declaration
[Range(0, 1)]
public float[] RTRDenoiserRadiusDimmer
Field Value
| Type | Description |
|---|---|
| float[] |
RTRFullResolution
Controls if the effect should be computed at full resolution. The array must have one entry per scalable setting level.
Declaration
public bool[] RTRFullResolution
Field Value
| Type | Description |
|---|---|
| bool[] |
RTRMinSmoothness
Controls the minimal smoothness. The array must have one entry per scalable setting level, and elements must be between 0 and 1.
Declaration
[Range(0, 1)]
public float[] RTRMinSmoothness
Field Value
| Type | Description |
|---|---|
| float[] |
RTRRayLength
Controls the length of ray traced reflection rays. The array must have one entry per scalable setting level, and elements must above 0.01.
Declaration
[Min(0.01)]
public float[] RTRRayLength
Field Value
| Type | Description |
|---|---|
| float[] |
RTRRayMaxIterations
Controls if the effect should be computed at full resolution. The array must have one entry per scalable setting level, and elements must above 0.
Declaration
[Min(0)]
public int[] RTRRayMaxIterations
Field Value
| Type | Description |
|---|---|
| int[] |
RTRSmoothnessFadeStart
Controls the minimal smoothness. The array must have one entry per scalable setting level, and elements must be between 0 and 1.
Declaration
[Range(0, 1)]
public float[] RTRSmoothnessFadeStart
Field Value
| Type | Description |
|---|---|
| float[] |
SSGIDenoise
Flag that enables the first denoising pass.
Declaration
public bool[] SSGIDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
SSGIDenoiserRadius
Flag that defines the radius of the first denoiser.
Declaration
public float[] SSGIDenoiserRadius
Field Value
| Type | Description |
|---|---|
| float[] |
SSGIHalfResDenoise
Flag that defines if the denoiser should be evaluated at half resolution.
Declaration
public bool[] SSGIHalfResDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
SSGIRaySteps
Screen space global illumination step count for the ray marching. The array must have one entry per scalable setting level, and elements must above 0.
Declaration
[Min(0)]
public int[] SSGIRaySteps
Field Value
| Type | Description |
|---|---|
| int[] |
SSGISecondDenoise
Flag that enables the second denoising pass.
Declaration
public bool[] SSGISecondDenoise
Field Value
| Type | Description |
|---|---|
| bool[] |
SSRMaxRaySteps
Maximum number of rays for Screen Space Reflection for each quality level. The array must have one entry per scalable setting level, and elements must above 0.
Declaration
[Min(0)]
public int[] SSRMaxRaySteps
Field Value
| Type | Description |
|---|---|
| int[] |