x


How to import a object with different materials using the same texture?

hi all I am currently working on unity 3.1 version. I have a .max file,there are two sub-objects in it, each with different materials but using the same texture.Two diffrent materials have different ambient and diffuse settings. It looks good in 3dsmax.When I imported it into Unity,only one material is used on both sub-objects.(By detecting only on texture is used?) If I let the object using 2 textures(same content diffrent file name...),it works ok but i will double the texture size.. Any way to fix this problem?Thx~

more ▼

asked Jan 04 '11 at 09:39 AM

cloud_zero gravatar image

cloud_zero
3 3 3 7

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

1 answer: sort voted first

On FBXImporter there is setting "Generate material". By default it is set to "Per Texture", which means all meshes in your project will try to use share materials (based on textures). You want to change that setting to "Per Material", then it will import each material separately.

more ▼

answered Jan 04 '11 at 02:15 PM

Paulius Liekis gravatar image

Paulius Liekis
7.3k 16 24 45

(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:

x2205
x274
x72
x21

asked: Jan 04 '11 at 09:39 AM

Seen: 1148 times

Last Updated: Jan 04 '11 at 09:39 AM