MosaicEffect

source code

Example of applying a GLSL shader to a FlxSprite to achieve a mosaic / pixelation effect.