A cubemap is a collection of six square textures that represent reflections on an environment. The six squares form a cube surrounding an object, and its faces represent the directions up, down, left, right, in front, and behind. That allows them to capture reflections or the environment of objects.