Use the mipmap trick to speed up ssao.