Game Development Community

NO MATERIAL problem with maya *fix

by Devin Passage · in Artist Corner · 08/30/2008 (7:07 pm) · 1 replies

Hey dudes, im not sure if im the only one who has run into this problem, but i am going to post the solution to it just in case. if you are setting up your materials.cs file correctly, and you still do not see your bump map or your specular is actually translucent or you get the no material texture on a Maya export, the reason for these problems is that you have to name the "map to" material in materials.cs after the FILE NAME you used for the Lambert in Maya, not the MATERIAL NAME.

this is not the way it works with Max, I am guessing, but if you name the material say Mech_material and you use the file mech_diff, you need to put the "map to" as mech_diff, not Mech_material in materials.cs

the maya exporter does indeed pack in the texture info in the DTS and it is erroneously used if you have a materials.cs and do not name the materials after the texture filename rather than the material name like in max.

if this is erroneous, or if you have any questions let me know.

#1
04/30/2009 (4:48 am)
Hi,

Is it possible to have an example of a working material, as you described ? We're currently running through the same problem, and it would be greatly helpful.

Thanks a lot !