How to export embedded textures and 3D Object materials in FBX format from BLENDER to UNITY ? – Basic Guide
In this chapter, we are happy to share how we can transfer the embedded textures of a 3D object created in Blender 2.9 and exported in FBX format to the Unity game engine.
To do this, we have prepared the object with a test material with a basic shader, adding the external textures brought and exported from Substance Painter to Blender as ‘Png’ images to be rendered on the object in question, as seen below:
For the example in question we are using a Free Asset 3D from our gallery, the M1911 Pistol that you can find at the following link, along with its external textures:
Click Here – Asset 3D Pistol M1911
Once the resources are downloaded, we can continue with the following export tutorial guide, or the practice can also be validated with any object that is required to be exported with its added textures.
1_We go to the menu bar and in the ‘File‘ option we select ‘export> fbx (the example format)’.
2_The following dialog box is shown below with the export options, which will mark the following options to export only the selected object with its integrated textures.
3_Change the ‘Path Mode’ field values on the right side of the window from ‘Auto’ to ‘Copy’, and then enable embedded textures in the button next to the mentioned option.
Also, select the export path and set the name of the file to be exported.
4_Then check the option ‘Selected Objects’ so that only the visible and selected object is exported, which in our case is the test weapon “‘M1911’ Asset 3D”. And click the ‘Export’ button to finish.
5_Then open the “Unity” engine, drag and drop the exported object in ‘FBX’ format in the ‘Project’ area, in our case it is at the bottom of the displayed window.
Also, if you want to download Unityt, check it out here.
6_Next we select our object loaded to the ‘Unity’ project and go to the section of the ‘Materials’ tab, where we will find 2 important options.
The first is to extract textures and the second is for materials, we click and a dialog box will be displayed where we will be presented with the default path of the location of the 3D object and it will present us with the option to place the textures and materials. in a different place.
For the example below, we just don’t make any selections and leave the default values blank for the two options.
Textures are extracted.
The materials are extracted
Note: In case the materials are not extracted from the object, the material options of the object would not be enabled, so it is not possible to load the textures in the material fields and the object would appear in solid color by default.
As it’s shown in the following.
7_Finally you can see the textures and materials extracted in the project area, ready to be established in the material fields of the object.
In addition, we activate in ‘Game Mode’ and we test how the exported object works perfectly with the extracted textures and materials.
Additionally, in the Asset 3d resources downloaded above, you will find the external textures for engines such as Unity and Unreal 4, in addition to the ‘PBR MetalRough’ standards, in 1k and 2k dimensions; in case they are necessary.
We thank you in advance for your attention and support to the project.