AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.Effect.ChromaticAberration

Enumeration Value

Description

Applies a chromatic aberration effect. Chromatic aberration was an articaft on older CRT displays that caused the individual color channels to drift from the center of each pixel, causing red/blue fringes on the edges of pixels. Enabling this effect will produce a more genuine retro display look.

This effect allows you to adjust the angle and magnitude of the chromatic aberration.

Example

void Initialize()
{
    // Apply a slight chromatic aberration effect at a 45 degree angle.
    RB.EffectSet(RB.Effect.ChromaticAberration, new Vector2i(5050));
}

See Docs

Features - Postprocessing Shaders