x


Missing bump materials when importing from Maya

Hello all,

I am trying to import a Maya 2008 model with regular textures and bump maps into Unity 2.6. The model appears fine apart from the fact that all the Unity materials become simple diffuse shaders and the bump textures seem to be missing. I have the latest fbx plugin for my version of Maya.

Any ideas why Unity does not translate the shaders correctly?

Thank you,

Kostas

more ▼

asked Mar 24 '10 at 08:40 AM

Kostas gravatar image

Kostas
1 1 1 3

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

I don't know if bumpmap texture data can be read directly from the model file with Unity...

Bumpmaps in Unity are separate texture files, typically. See if you can export or generate a separate bumpmap texture for your model, import it into Unity, select a Bumpmap-supported shader (like Bumped Diffuse), and then specify your regular texture and your bumpmap texture assets in the shader properties.

Unity can also generate bumpmaps for you, though this process is largely automated, and if you've created a specific bumpmap for your model, Unity's bumpmap creator probably won't work for you.

more ▼

answered Mar 24 '10 at 08:46 AM

qJake gravatar image

qJake
11.6k 43 78 161

(comments are locked)
10|3000 characters needed characters left

Materials do not transfer between 3D apps; everything will import as a material with a diffuse shader. Change the material to use a bumpmap shader in Unity.

more ▼

answered Mar 24 '10 at 08:50 AM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

How would that work with a model with many materials? Do I have to change Unity diffuse shaders to bump by hand and hunt around for bump textures? Also, how would I know which textures the artist assigned to the model in Maya? Seems a bit counterintuitive...

Mar 24 '10 at 08:58 AM Kostas

@Kostas: Yes, you have to change them by hand. Hopefully the artist uses textures with obvious names, such as "UglyAlien.psd", "UglyAlienBump.psd", and "UglyAlienSpecular.psd".

Mar 24 '10 at 05:58 PM Eric5h5
(comments are locked)
10|3000 characters needed characters left

When you import models with bump maps, it's automatically read in Unity as bump diffuse, so there will be two slots for the texture, one is for the outer color and the other is for bump map which should be converted into grayscale first. It seems flat but when light is thrown in it it cast shadows as well.

more ▼

answered Dec 22 '11 at 11:10 PM

charnew gravatar image

charnew
31 15 18 23

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1667
x973
x400
x56
x51

asked: Mar 24 '10 at 08:40 AM

Seen: 2732 times

Last Updated: Dec 22 '11 at 11:10 PM