ChromaticAberration.cs 487 B

123456789101112131415
  1. using System;
  2. namespace UnityEngine.Rendering.Universal
  3. {
  4. [Serializable, VolumeComponentMenu("Post-processing/Chromatic Aberration")]
  5. public sealed class ChromaticAberration : VolumeComponent, IPostProcessComponent
  6. {
  7. [Tooltip("Amount of tangential distortion.")]
  8. public ClampedFloatParameter intensity = new ClampedFloatParameter(0f, 0f, 1f);
  9. public bool IsActive() => intensity.value > 0f;
  10. public bool IsTileCompatible() => false;
  11. }
  12. }