Skip to content

Using the Default Material

In Foxel, each Material Set contains exactly one default material. This default material serves as a foundational element for your voxel creations. Unlike other materials, the attributes of the default material cannot be modified directly through the Material Set Editor. Instead, they are controlled by the properties of the layer objects in your scene.

There are three types of layer objects in Foxel: Voxel Layer, Pixel Layer and Mesh Layer.

Each of these layer object types has an editable element grid, allowing you to assign materials to individual elements (voxels, pixels, or texels). The default material attributes can be modified individually by each layer object, meaning that each layer object can have a different setup for the default material.

Attributes of the Default Material

The properties of the default material, including Metallic, Roughness, and Emissive, can be adjusted for each layer object. These properties can be edited via the Inspector and will apply to all elements within the layer that have the default material assigned.

Editing the Default Material Attributes

To edit the attributes of the default material for a specific layer object, follow these steps:

  1. Select the Layer Object: Click on the layer object in your scene that you wish to modify.
  2. Navigate to the Inspector: Open the Inspector Panel to view the object's properties.
  3. Edit Values: Adjust the Metallic, Roughness, and Emissive values as desired.

Animation of Default Material Properties

One of the unique features of the default material is that its properties can be animated using keyframes. This makes the default material the only material in Foxel that supports animation, allowing for dynamic visual effects in your projects.

Important Note

The Alpha value of the default material is always set to 1 and cannot be changed. This ensures that the default material remains fully opaque, providing a consistent base for your designs.