s&box docs

public sealed class Sandbox.ChromaticAberration : Sandbox.BasePostProcess<T>

Applies a chromatic aberration effect to the camera

Constructors

Showing 1 constructors

Methods

Showing 1 methods

public virtual void Render()

Properties

Showing 2 properties

public Vector3 Sandbox.ChromaticAberration.Offset { get; set; }

The pixel offset for each color channel. These values should be very small as it's in UV space. (0.004 for example) X = Red Y = Green Z = Blue

public float Sandbox.ChromaticAberration.Scale { get; set; }

Strength of the chromatic aberration effect

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.ChromaticAberration

On this page