using System; namespace UnityEngine.Rendering.HighDefinition { /// /// A volume component that holds settings for the Micro Shadows effect. /// [Serializable, VolumeComponentMenu("Shadowing/Micro Shadows")] [HelpURL(Documentation.baseURL + Documentation.version + Documentation.subURL + "Override-Micro-Shadows" + Documentation.endURL)] public class MicroShadowing : VolumeComponent { /// /// When enabled, HDRP processes Micro Shadows for this Volume. /// [Tooltip("Enables micro shadows for directional lights.")] public BoolParameter enable = new BoolParameter(false); /// /// Controls the opacity of the micro shadows. /// [Tooltip("Controls the opacity of the micro shadows.")] public ClampedFloatParameter opacity = new ClampedFloatParameter(1.0f, 0.0f, 1.0f); MicroShadowing() { displayName = "Micro Shadows"; } } }