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.Pixelate

Enumeration Value

Description

Applies the pixelate effect, distorting the display by enlarging pixels and reducing resolution. The intensity of this effect can be set from 0.0f (no pixelation) to 1.0f (extreme pixelation). This effect can be animated by changing the amount of pixelation every frame.

This effect is also known as the "mosaic" effect.

Example

void Initialize()
{
    // Pixelate the display
    RB.EffectSet(RB.Effect.Pixelate, 0.15f);
}

See Docs

Features - Postprocessing Shaders