x


Artifacts when importing Blender to Unity?

alt text

I always get these strange artifacts when importing from Blender to Unity. I think it might have to do with UV mapping, because this happens with any shader that uses a bumpmap. What should I do?

more ▼

asked Apr 28 '11 at 04:27 AM

Irsan gravatar image

Irsan
65 39 42 50

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

2 answers: sort voted first

once you're totally sure that your normals are sane (just like others mentioned), check your tangets! either you try to set the Tangents option on your object to "import" (default is calculate), or you try to find out why they are calculated wrong. for example: if you do not have any UVs, or they are weirdly distorted or scaled, Unity will calculate wrong tangets.

some shaders need sane tangents in order to work.

more ▼

answered Jan 25 '12 at 03:18 PM

atti gravatar image

atti
18 2

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

looks like bad normals. Here's a quick fix:

1:select ONLY your object

2:go into edit-mode

3:select all FACES

4: control+N, recalculate normals.

All should be well then :-)

more ▼

answered Apr 28 '11 at 05:12 AM

3Duaun gravatar image

3Duaun
311 6 8 17

That didn't work. I'm exporting it as a .fbx, maybe a different filetype will help somehow.

Apr 28 '11 at 05:35 AM Irsan

try tweaking the normals importing settings INSIDE the unity editor. After selecting your object in the heirarchy/project, look over the normals settings in the inspector. Unity has tweaked the normals of certain FBXs in odd ways for me before.

Apr 28 '11 at 06:05 AM 3Duaun
(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:

x724
x78
x51
x32

asked: Apr 28 '11 at 04:27 AM

Seen: 1033 times

Last Updated: Jan 25 '12 at 03:18 PM