I didn't really write the shader, the pixelated filter is just a Unity Render Texture with the scale decreased, then changed to the point filter option to make sure it's not blurry. Apart from that it's just the built-in grain filter that comes with Unity's post-processing :)