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.
15 lines
575 B
15 lines
575 B
using System; |
|
|
|
namespace UnityEngine.Rendering.Universal |
|
{ |
|
[Serializable, VolumeComponentMenuForRenderPipeline("Post-processing/Chromatic Aberration", typeof(UniversalRenderPipeline))] |
|
public sealed class ChromaticAberration : VolumeComponent, IPostProcessComponent |
|
{ |
|
[Tooltip("Use the slider to set the strength of the Chromatic Aberration effect.")] |
|
public ClampedFloatParameter intensity = new ClampedFloatParameter(0f, 0f, 1f); |
|
|
|
public bool IsActive() => intensity.value > 0f; |
|
|
|
public bool IsTileCompatible() => false; |
|
} |
|
}
|
|
|