Skip to content

Mesh Layer

The Mesh Layer is the primary object type for Mesh Assets within Foxel. It is generated when a mesh file is imported and converted into a Mesh Asset. Each Mesh Layer contains exactly one texture that can be edited, while the mesh itself remains uneditable. The texels of the texture can store color indices and material indices that point to the Color Palette and Material Set of the project. If a texel is empty, the color and material specified by the Mesh Layer properties are used to prevent holes in the mesh.

Mesh Assets can be added to Voxel Scenes via Mesh References, which voxelize the contained mesh objects to convert them into a single voxel grid. For more information, see Referencing Assets.

Mesh Layer Properties

The following properties can be adjusted for Mesh Layers:

  • Texture Size: Defines the size of the texture, with a minimum of 1x1 and a maximum of 1024x1024.
  • Color: Specifies the color index used for empty texels, ensuring that a default color is applied where no specific texel information is available.
  • Material: Specifies the material index used for empty texels, allowing for a default material to be applied in the absence of specific texel data.