docs.unity3d.com
    显示 / 隐藏目录

    Class GlobalIllumination

    A volume component that holds settings for the ray traced global illumination.

    Inheritance
    Object
    VolumeComponent
    GlobalIllumination
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenu("Ray Tracing/Global Illumination (Preview)")]
    public sealed class GlobalIllumination : VolumeComponent

    Fields

    bounceCount

    Number of bounces for evaluating the effect.

    Declaration
    [Tooltip("Number of bounces for GI.")]
    public ClampedIntParameter bounceCount
    Field Value
    Type Description
    ClampedIntParameter

    clampValue

    Controls the clamp of intensity.

    Declaration
    [Tooltip("Controls the clamp of intensity.")]
    public ClampedFloatParameter clampValue
    Field Value
    Type Description
    ClampedFloatParameter

    denoise

    Defines if the ray traced global illumination should be denoised.

    Declaration
    [Tooltip("Denoise the ray-traced GI.")]
    public BoolParameter denoise
    Field Value
    Type Description
    BoolParameter

    denoiserRadius

    Controls the radius of the global illumination denoiser (First Pass).

    Declaration
    [Tooltip("Controls the radius of the GI denoiser (First Pass).")]
    public ClampedFloatParameter denoiserRadius
    Field Value
    Type Description
    ClampedFloatParameter

    fullResolution

    Defines if the effect should be evaluated at full resolution.

    Declaration
    [Tooltip("Full Resolution")]
    public BoolParameter fullResolution
    Field Value
    Type Description
    BoolParameter

    halfResolutionDenoiser

    Defines if the denoiser should be evaluated at half resolution.

    Declaration
    [Tooltip("Use a half resolution denoiser.")]
    public BoolParameter halfResolutionDenoiser
    Field Value
    Type Description
    BoolParameter

    layerMask

    Defines the layers that GI should include.

    Declaration
    [Tooltip("Defines the layers that GI should include.")]
    public LayerMaskParameter layerMask
    Field Value
    Type Description
    LayerMaskParameter

    mode

    Controls which version of the effect should be used.

    Declaration
    [Tooltip("Controls which version of the effect should be used.")]
    public RayTracingModeParameter mode
    Field Value
    Type Description
    RayTracingModeParameter

    rayLength

    Controls the length of GI rays.

    Declaration
    [Tooltip("Controls the length of GI rays.")]
    public ClampedFloatParameter rayLength
    Field Value
    Type Description
    ClampedFloatParameter

    rayTracing

    Enable ray traced global illumination.

    Declaration
    [Tooltip("Enable ray traced global illumination.")]
    public BoolParameter rayTracing
    Field Value
    Type Description
    BoolParameter

    sampleCount

    Number of samples for evaluating the effect.

    Declaration
    [Tooltip("Number of samples for GI.")]
    public ClampedIntParameter sampleCount
    Field Value
    Type Description
    ClampedIntParameter

    secondDenoiserPass

    Defines if the second denoising pass should be enabled.

    Declaration
    [Tooltip("Enable second denoising pass.")]
    public BoolParameter secondDenoiserPass
    Field Value
    Type Description
    BoolParameter

    secondDenoiserRadius

    Controls the radius of the global illumination denoiser (Second Pass).

    Declaration
    [Tooltip("Controls the radius of the GI denoiser (Second Pass).")]
    public ClampedFloatParameter secondDenoiserRadius
    Field Value
    Type Description
    ClampedFloatParameter

    upscaleRadius

    Defines what radius value should be used to pre-filter the signal.

    Declaration
    [Tooltip("Upscale Radius")]
    public ClampedIntParameter upscaleRadius
    Field Value
    Type Description
    ClampedIntParameter
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)