a fast way to generate an environment mapping