Load 360° panoramas as cube mapping projections from six face images, a horizontal stripe, or a polyhedron net layout.
Cube mapping maps the environment onto the six faces of a cube around the viewer. The cubemap adapter supports three input formats: separate files, a horizontal stripe, and a polyhedron net.
All six faces are in a single file arranged in a horizontal stripe. The default order is left, front, right, back, top, bottom, but you can change it with the order field.
panorama: { type: 'stripe', path: 'path/to/panorama.jpg', // optional: set to true if top and bottom faces are not correctly oriented flipTopBottom: false, // optional: change the order of faces in the stripe order: ['left', 'right', 'top', 'bottom', 'back', 'front'],}