You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
using System;
|
|
|
|
namespace UnityEngine.Rendering.HighDefinition
|
|
{
|
|
/// <summary>
|
|
/// A volume component that holds settings for the Micro Shadows effect.
|
|
/// </summary>
|
|
[Serializable, VolumeComponentMenu("Shadowing/Micro Shadows")]
|
|
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
|
|
[HDRPHelpURLAttribute("Override-Micro-Shadows")]
|
|
[DisplayInfo(name = "Micro Shadows")]
|
|
public class MicroShadowing : VolumeComponent
|
|
{
|
|
/// <summary>
|
|
/// When enabled, HDRP processes Micro Shadows for this Volume.
|
|
/// </summary>
|
|
[Tooltip("Enables micro shadows for directional lights.")]
|
|
[DisplayInfo(name = "State")]
|
|
public BoolParameter enable = new BoolParameter(false, BoolParameter.DisplayType.EnumPopup);
|
|
|
|
/// <summary>
|
|
/// Controls the opacity of the micro shadows.
|
|
/// </summary>
|
|
[Tooltip("Controls the opacity of the micro shadows.")]
|
|
public ClampedFloatParameter opacity = new ClampedFloatParameter(1.0f, 0.0f, 1.0f);
|
|
}
|
|
}
|