cubemaps
Cubemaps are a texture representation used in 3D graphics to encode information about the surrounding environment for a point in space. A cubemap consists of six square textures that form the faces of a cube: +X, -X, +Y, -Y, +Z, and -Z. When sampled with a 3D direction vector, the appropriate face is selected and the corresponding (u,v) coordinates on that face determine the texel color. This enables efficient real-time environment mapping with a single texture lookup per sample.
Cubemaps are used for reflections, specular and diffuse lighting via image-based lighting, skyboxes, and ambient environments.
Creation methods include capturing from the real world with six directional photographs or a cubemap camera,
Advantages include fast lookups, hardware-supported sampling, and reduced distortion compared with spherical textures, making them convenient