Add automatic mipmap generation.