Class GlobalLightingQualitySettings
Global lighting quality settings.
Namespace: UnityEngine.Rendering.HighDefinition
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 |
---|---|
Boolean[] |
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(1F, 6F)]
public int[] AODirectionCount
Field Value
Type | Description |
---|---|
Int32[] |
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 |
---|---|
Boolean[] |
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(16F, 256F)]
public int[] AOMaximumRadiusPixels
Field Value
Type | Description |
---|---|
Int32[] |
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(2F, 32F)]
public int[] AOStepCount
Field Value
Type | Description |
---|---|
Int32[] |
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(4F, 64F)]
public int[] ContactShadowSampleCount
Field Value
Type | Description |
---|---|
Int32[] |
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(0F, 1F)]
public float[] Fog_Budget
Field Value
Type | Description |
---|---|
Single[] |
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(0F, 1F)]
public float[] Fog_DepthRatio
Field Value
Type | Description |
---|---|
Single[] |
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 |
---|---|
Boolean[] |
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.001F, 1F)]
public float[] RTAODenoiserRadius
Field Value
Type | Description |
---|---|
Single[] |
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.01F)]
public float[] RTAORayLength
Field Value
Type | Description |
---|---|
Single[] |
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(1F, 64F)]
public int[] RTAOSampleCount
Field Value
Type | Description |
---|---|
Int32[] |
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.001F, 10F)]
public float[] RTGIClampValue
Field Value
Type | Description |
---|---|
Single[] |
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 |
---|---|
Boolean[] |
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.001F, 1F)]
public float[] RTGIDenoiserRadius
Field Value
Type | Description |
---|---|
Single[] |
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 |
---|---|
Boolean[] |
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 |
---|---|
Boolean[] |
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.01F)]
public float[] RTGIRayLength
Field Value
Type | Description |
---|---|
Single[] |
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(0F)]
public int[] RTGIRaySteps
Field Value
Type | Description |
---|---|
Int32[] |
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 |
---|---|
Boolean[] |
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.001F, 10F)]
public float[] RTRClampValue
Field Value
Type | Description |
---|---|
Single[] |
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 |
---|---|
Boolean[] |
RTRDenoiserRadius
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(1F, 32F)]
public int[] RTRDenoiserRadius
Field Value
Type | Description |
---|---|
Int32[] |
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 |
---|---|
Boolean[] |
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(0F, 1F)]
public float[] RTRMinSmoothness
Field Value
Type | Description |
---|---|
Single[] |
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.01F)]
public float[] RTRRayLength
Field Value
Type | Description |
---|---|
Single[] |
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(0F)]
public int[] RTRRayMaxIterations
Field Value
Type | Description |
---|---|
Int32[] |
RTRSmoothDenoising
Flag that defines smooth denoising status. The array must have one entry per scalable setting level.
Declaration
public bool[] RTRSmoothDenoising
Field Value
Type | Description |
---|---|
Boolean[] |
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(0F, 1F)]
public float[] RTRSmoothnessFadeStart
Field Value
Type | Description |
---|---|
Single[] |
SSGIDenoise
Flag that enables the first denoising pass.
Declaration
public bool[] SSGIDenoise
Field Value
Type | Description |
---|---|
Boolean[] |
SSGIDenoiserRadius
Flag that defines the radius of the first denoiser.
Declaration
public float[] SSGIDenoiserRadius
Field Value
Type | Description |
---|---|
Single[] |
SSGIHalfResDenoise
Flag that defines if the denoiser should be evaluated at half resolution.
Declaration
public bool[] SSGIHalfResDenoise
Field Value
Type | Description |
---|---|
Boolean[] |
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(0F)]
public int[] SSGIRaySteps
Field Value
Type | Description |
---|---|
Int32[] |
SSGISecondDenoise
Flag that enables the second denoising pass.
Declaration
public bool[] SSGISecondDenoise
Field Value
Type | Description |
---|---|
Boolean[] |
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(0F)]
public int[] SSRMaxRaySteps
Field Value
Type | Description |
---|---|
Int32[] |