How to import Mesh (obj) file along with base (RGB) and NormalMap?

Hello everyone,

I use Unity 3 and I’m trying to import a mesh exported from Maya to .obj format. The mesh comes along with two BMP files, one for the base and the other for NormalMapping. I looked at the Unity manual and it states to put the textures in the Textures folder alongside the mesh, but then it says that you should put materials into the Materials folder. Being a programmer and new to the 3D scene, I’m at a loss; might as well be reading greek. Whatever I’m doing doesn’t seem to work, so I’m wondering what is the correct folder layout for my mesh and two accompanying bmp files so that I can simply import the mesh as an asset and have the other two files come along for the ride automagically.

As it stands right now I do an Import New Asset and select my mesh, but then it gives me the following error :

ImportFBXWarnings : Can’t import normals, because mesh ‘defaultMat’ doesn’t have it

Thank you for your assistance,

El Diablo

@Diablo
If I understand the engine correctly, normal maps in Unity are called bump maps for some reason. To add a bump/normal map and a diffuse map to an object, select your material. In the Inspector view, select the drop down box labeled “shader” (which should be just diffuse by default if you created a new material). The very top is Bumped Diffuse. You will notice two texture slots - one Base, one Normal.

for more information, take a look at the documenation

Hope that helps,

-S

Hello,

Thank you for responding. From what I understand, the asset import process should take care of this automatically; I just need the correct folder layout for Unity to understand. The problem when importing a mesh is that it creates a prefab for it that contains its own pregenerated gunk that I don’t need.

Does anyone know the correct procedure?

Regards,

Anthony