Skip to content

Shared Cubemaps โ€‹

Cubemaps are shared files used for environment rendering in Foxel. They can be used for Image-Based Lighting, reflections, and background environments.

Accessing Shared Cubemaps โ€‹

Shared Cubemaps can be accessed through File > Shared Files > Cubemaps.

File Location โ€‹

Shared Cubemaps are stored in:

Documents\Foxel\Shared\Cubemaps

File Format โ€‹

Foxel stores Cubemaps in its proprietary .fxlcm format.

This format contains both the environment data and the derived convolution data needed for fast loading and efficient rendering.

Importing Cubemaps โ€‹

You can import Cubemaps through File > Shared Files > Cubemaps.

Foxel supports several import methods.

Importing Common Cubemap Layouts โ€‹

Foxel can import many common cubemap image layouts automatically.

Cubemaps ๐Ÿ”บ Figure 1: Supported cubemap layouts.

Importing Six Separate Images โ€‹

You can also import a Cubemap from six individual images.

The filenames must include these suffixes:

  • _right
  • _left
  • _top
  • _bottom
  • _front
  • _back

Example:

  • cubemap_right.png
  • cubemap_left.png
  • cubemap_top.png
  • cubemap_bottom.png
  • cubemap_front.png
  • cubemap_back.png

Note

When importing a Cubemap from six separate images, select only one of the six files. Foxel loads the remaining faces automatically.

Importing 360ยฐ Panoramas โ€‹

Foxel can also generate Cubemaps from 360ยฐ panorama images that use equirectangular projection.

Cubemaps ๐Ÿ”บ Figure 2: Equirectangular panorama image.

Supported Import Formats โ€‹

File FormatFile Extension
Image.png, .bmp, .jpg, .gif, .tiff
HDR Image.hdr

Exporting Cubemaps โ€‹

Shared Cubemaps can be exported through File > Shared Files > Cubemaps.

If one Cubemap is exported, Foxel asks for a filename. If multiple Cubemaps are exported, Foxel asks for a destination folder.

Exported Cubemaps use the horizontal cross layout.

Supported Export Formats โ€‹

File FormatFile Extension
Image.png, .bmp, .jpg, .gif, .tiff