Shared Material Sets
Material Sets play a crucial role in Foxel, as each project has its own unique Material Set that is used by all contained assets, objects, and voxels/pixels/texels. Every time you create a new project, you will be prompted to select which Material Set to use. To reuse Material Sets, you can utilize shared Material Sets.
Managing Material Sets
Material Sets are managed through the Material Sets Tab of the Materials Panel.
🔺 Figure 1 Material Sets Tab.
File Location
The default Material Set is located at:Documents\Foxel\default.fxlmat
The project Material Set is located at:Projects\ProjectName\project.fxlmat
All other custom Material Sets are stored in the following directory:Documents\Foxel\Shared\MaterialSets
File Format
Material Sets are saved in a proprietary file format with the file extension .fxlmat, containing the necessary properties and configurations for materials.
Reusing Material Sets
To reuse the materials of the currently open project, simply duplicate Project. This will create a copy of the Material Set associated with the project and store it in the shared directory. To do this:
- Navigate to the Material Sets Tab.
- Select
Project. - Right-click and choose Duplicate from the context menu.
Importing Material Sets
You can import files as a new Material Set or add the imported materials to the Material Set of the currently open project.
Steps to Import as a New Material Set:
- Navigate to the Material Sets Tab.
- Click on the Import button.
- Select the files you want to import and click Open.
Steps to Import to the Project Material Set
- Navigate to the Materials Tab.
- Open the Material Editor by double-clicking a material.
- Click on the Import button.
- Select the file you want to import and click Open.
Supported File Formats for Import
You can import the following file formats:
| File Format | File Extension | Info |
|---|---|---|
| Foxel Material Set | .fxlmat | The proprietary file format for Foxel Material Sets. |
| Foxel Asset | .fxl | Each Foxel asset stores the Material Set it uses. |
Exporting Material Sets
To export Material Sets, follow these steps:
- Navigate to the Material Sets Tab.
- Select the Material Sets you want to export.
- Right-click on your selection.
- Choose Export from the context menu.
- If you are exporting a single file, you will be prompted to enter a file name.
- If you are exporting multiple files, you will be prompted to select a destination folder. In this case, the default file type .fxlmat will be used for exporting.
Supported File Formats for Export
| File Format | File Extension | Info |
|---|---|---|
| Foxel Material Set | .fxlmat | The proprietary file format for Foxel Material Sets. |