Download

Importing a textured mesh from blender

I have been trying to import a textured model from blender using the fbx format.Here are the steps I take using a cube.While the materials are getting imported into unreal the textures are not.Please help

6b5845682c0cf88d0f217de0a07ee0bedee446a8.jpeg
UV Mapping

c741492392a0e9fba79539883f86d121542f132c.png
Nodes inserted

2016-07-24 (5).png
Exported using fbx format

2016-07-24 (6).png

2016-07-24 (8).jpg
Imported to UE4

2016-07-24 (10).jpg
The mesh doesnt have textures!

480a0e81672def9d780af12417fd042cee80dcfc.png
Material editor

Well, first of all Cycles nodes do not go into FBX afaik. Use Blender Internal instead if you need to use mesh elements. And for texture why you don’t import it separately. Again as far as i know it’s the only option for now :slight_smile:

To the left is the UV of the Cube in the image editor, to the right is the cube in the 3D viewport. This is done in Blender internal, but it does work with Cycles as well - to the limited extent it does. Blender materials are not compatible with UE4 - UE4 will import the material slots, and it will know which part of the model the material is assigned to, but it will not store any data regarding to the material itself. You have to make the materials inside of UE4, or some other application that is compatible with UE4.

Remember that in internal the default material slot that is assigned to every object is sort of a blank material slot that applies to the whole model. We have created the two extra material slots because we want different parts of the model have a different material. One material is for 5 of the cube’s sides - the material name is 5sides - and one material is only for a single side of the cube, named as 1side. In the UV layout, I have also separated the different materials into their own islands.

b73dc2fc3fd28045a460326d25bc9b8e83e55b9e.png

Once exported, the above image shows how it looks inside UE4.

Now we could make a texture for the object in whatever editor we wish.

36aa33b65a9254c29206aabcb381281700be12d0.png

Save the texture image, and import it separately into UE4 the same way you imported the FBX model - the import tool works just the same way for images as it did for FBX files.

Once you have the texture in UE4 content browser, assign it to the materials.

0d38f1d765c237310e7e709dad0ff146fe68f548.png

As the materials as separate, we can edit them separately.

materialexample.png