Mozaic (pixalate) Shader and Pass for Three.js
Include the Shader and the Pass
<script type="text/javascript" src="lib/MozaicShader.js"></script>
<script type="text/javascript" src="lib/MozaicPass.js"></script>
Add Mozaic Pass to your effect composer stack
var composer = new THREE.EffectComposer( renderer );
var mozaic = new THREE.MozaicPass();
mozaic.cellsize = 20;
mozaic.renderToScreen = true;
composer.addPass( mozaic );