What Is a Cubemap to Equirectangular Converter?
A cubemap stores an environment as six square 90° faces, one per cube axis. An equirectangular panorama stores the same environment as a single 2:1 image in which the X axis is longitude and the Y axis is latitude. This converter samples every output pixel by direction, finds the cube face that faces that way, and writes the result as one flat seamless image.
How to Convert Cube Faces Back to a Sphere
- Collect the six faces: export Rt / Lf / Up / Dn / Ft / Bk or px / nx / py / ny / pz / nz from Unity, Unreal, Blender or a skybox tool.
- Drop them into the labeled slots: each slot maps one file to a cube direction, so no face lands upside down.
- Stitch to 2:1: choose 1024×512, 2048×1024 or 4096×2048 output and let the ray caster rebuild every direction.
- Download or open it: save the PNG, inspect it in the free 360° panorama viewer, or slice it back into faces.
Face Naming Conventions by Engine
- Unity 6-Sided Skybox: Front, Back, Left, Right, Up, Down (_Front, _Back, _Left, _Right, _Up, _Down)
- Unreal Engine 5: px, nx, py, ny, pz, nz
- Three.js CubeTextureLoader: px, nx, py, ny, pz, nz
- Blender / Cycles: Left, Right, Up, Down, Front, Back
- Source 2 skybox: Rt, Lf, Up, Dn, Ft, Bk
Why Convert Back to a Sphere?
- Publishing: YouTube 360, Facebook 360, Google Street View and VR headsets all consume 2:1 equirectangular images.
- Engines that expect spheres: Three.js, Babylon.js, Blender world backgrounds and panorama viewers take an equirectangular texture.
- Lighting: feed the stitched panorama into the AI HDRI generator to get a 32-bit environment map.
- Sharing: one file is easier to send, host and archive than six.
Privacy
All conversion happens in your browser with HTML5 Canvas pixel maths. No face images are uploaded to a server, which makes the tool safe for unreleased game art and client work.
Frequently Asked Questions
How does inverse ray casting convert cubemaps to equirectangular format?
For every pixel in the target 2:1 equirectangular output (where X maps to longitude from -π to +π and Y maps to latitude from -π/2 to +π/2), our algorithm casts a 3D ray from the origin. It computes the intersection with the corresponding cube face (+X, -X, +Y, -Y, +Z, -Z) and bilinearly interpolates pixel color values, ensuring mathematically perfect spherical curvature without seam tearing.
Does the converter create visible seams at face boundaries?
No. Exact continuous 3D ray casting evaluates vector angles precisely at the boundaries where adjacent cube faces meet, ensuring 100% geometric alignment and continuous color transitions across all edges.
What is the maximum resolution for the reconstructed panorama?
You can export 1024×512, 2048×1024, or full 4096×2048 equirectangular PNG images directly from your web browser without server compression.
Is any image data uploaded to a server?
No. All inverse ray tracing and canvas reconstruction happen completely on your device using client-side JavaScript and HTML5 Canvas memory.
Explore Related 360° Tools
- Cubemap Generator — Slice 2:1 panoramas into 6 cube faces (+X, -X, +Y, -Y, +Z, -Z).
- 360 Panorama Viewer — Free online WebGL viewer with no upload required.
- AI HDRI Generator — Create 32-bit Radiance .HDR environment lighting for Blender.
- AI Skybox Generator — Generate 360° VR skyboxes for Unity and Unreal Engine.
- Map to Globe — Project 2D maps and equirectangular images into 3D rotating globes.
- 360 Metadata Injector — Embed Google PhotoSphere XMP tags for Facebook.