Heavily optimised PixiShader.