How to Convert HDRI to Cubemap
- Upload Your HDRI Environment: Open a 2:1 Radiance .hdr panorama up to 50 MiB / 8K. PNG, JPEG and WEBP also work. OpenEXR is not supported.
- Select Face Resolution: Choose 512×512, 1024×1024, or 2048×2048 pixels per face.
- Live 6-Face Preview: Inspect all 6 rectilinear faces rendered in real-time with zero optical pinch.
- Download Batch ZIP: Save posx.png, negx.png, posy.png, negy.png, posz.png, and negz.png in one click.
Features of Our Free HDRI Cubemap Slicer
- Zero Spherical Distortion: Uses exact tangent-space ray casting to eliminate polar pinching and seam artifacts.
- Instant Client-Side Processing: Decoding, tone mapping and slicing run locally in your browser. No textures are uploaded to cloud servers.
- Plug-and-Play Unity & Unreal Engine: Naming matches Unity Skybox / 6 Sided shaders and Three.js CubeTexture loaders directly.
- 8-bit PNG Output: Export tone-mapped skybox images. Keep the original .hdr for high dynamic range environment lighting.
Equirectangular to Cubemap, and the Reverse Direction
An equirectangular image is the flat 2:1 panorama a 360 camera or an HDRI capture produces: the whole sphere stored on one rectangle. A cubemap stores the same sphere as six square faces, which is the layout Unity, Unreal Engine and three.js actually want for a skybox or an image-based lighting probe. Converting between the two is a projection change, not a resize — each output pixel is a ray cast into the source.
This page runs the equirectangular to cubemap direction across every six-face layout, and also covers the plain panorama to cubemap case when your source is an ordinary JPEG or PNG. If you need to go the other way, use the Cubemap to Equirectangular converter, which stitches six faces back into one 2:1 image.
Which direction do you need?
- Panorama to cubemap: for Unity
Skybox/6 Sided, UnrealSkyLightcubemaps, three.jsCubeTexture, or any engine that samples six square textures. - Cubemap to panorama: when your source is already six faces — a baked lighting probe, an older game asset — and you want one 360° image to view, edit or re-upload.
- Source is already an 8-bit JPEG or PNG? Both directions accept it. The exposure slider simply has less headroom to recover, because the panorama was tone mapped before it reached you.
Frequently Asked Questions
What face naming convention is used in the ZIP archive?
The archive packages posx.png (Right +X), negx.png (Left -X), posy.png (Top +Y), negy.png (Bottom -Y), posz.png (Front +Z), and negz.png (Back -Z). Check your engine shader because some tools flip the vertical axis.
Is my HDRI file kept private?
Yes. Decoding, exposure adjustment, slicing, and ZIP packaging run in your browser. The HDRI is not sent to our servers.
Can I convert a normal JPEG or PNG panorama into a cubemap?
Yes. PNG, JPEG, and WEBP panoramas work as well as Radiance .hdr files. An 8-bit image is already tone mapped, so the exposure slider acts as a simple brightness adjustment.
Does this tool also stitch a cubemap back into a panorama?
No. This tool converts a 2:1 panorama into six cube faces. Use the Cubemap to Equirectangular converter for the reverse direction.
Related 360° Panorama & Game Tools
- Cubemap Generator — Slice 360 panoramas into 6 cube faces.
- Cubemap to Equirectangular — Stitch 6 cube faces back into a seamless 2:1 panorama.
- AI HDRI Generator — Generate 360° HDR environment maps with AI.
- HDRI Viewer — Inspect 360 HDRIs with real-time exposure and tonemapping.
- Skybox Generator — Create panoramic game skyboxes.