1
\$\begingroup\$

I am trying to create an HDRI SkyBox out of 6 textures but after I create the cubemap with Assets → Legacy → Cubemap and drag it in the HDRI Sky I get an all white environment. Is this a problem with the textures or maybe I am missing some setting?

enter image description here

enter image description here

\$\endgroup\$
  • \$\begingroup\$ The Legacy cubemap path does not support HDR cubemaps. Have you tried combining your 6 images into one of the supported layouts and importing that single texture using the CubeMap shape to get full HDR support, as described in the docs? \$\endgroup\$ – DMGregory Jun 30 at 17:13
  • \$\begingroup\$ all 6 textures are set at Default type and Cube shape but how do i combine the 6 textures (6 files) in one cubemap so i can drag it in HDRI Sky? It doesn't say how in that doc. \$\endgroup\$ – mavish Jun 30 at 17:19
  • \$\begingroup\$ It absolutely does. Please re-read the section titled "Creating Cubemaps from Textures" where it shows you six different layouts the importer supports. Create that layout in the image editing software of your choice, and import that layout as a single texture. \$\endgroup\$ – DMGregory Jun 30 at 17:32
  • \$\begingroup\$ oh so unity doesn't do cubemaps! I need to use an external tool. THat may be the answer. Back to work. \$\endgroup\$ – mavish Jun 30 at 17:35
  • \$\begingroup\$ It does do cubemaps, in exactly the way explained in the docs. I'm really uncertain where you're getting stuck here. \$\endgroup\$ – DMGregory Jun 30 at 17:36
0
\$\begingroup\$

The legacy cubemap pipeline of dragging six separate textures into a cubemap asset in Unity does not support HDR.

To get HDR (and better filtering as a bonus), you need to import your cubemap as a single image, not as six separate images.

As described in the docs, you need to lay out your 6 views into one image file with one of these arrangements:

Supported cubemap layouts

(I've omitted the Equirectangular/LatLong and SphereMap options since they'd require re-projecting your images instead of just pasting them side-by-side).

You can use any image editing software you like to do this arrangement.

Place the resulting single image into your Assets folder, and in its import settings, choose Texture Type: Default, Shape: Cube.

The result will be a Cubemap asset that you can use as your sky.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.