How to import an fbx in Unity correctly?

橙三吉。 提交于 2021-01-06 07:23:54

问题


I've modelled an object and exported as fbx. After I import the asset in Unity, some artefacts show up. The artefacts seem to be related to Unity import and not do the fbx file as the model viewed in Windo3d 3d viever seem to have no issues.

Thank you a lot!

Object in Blender Edit mode

Object in Blender Object mode

Object in Windows 3d

Object in Unity


回答1:


It looks like a triangle winding problem. The order of the vertices in a triangle, when combined with their visual orientation, can be used to determine whether the triangle is being seen from the "front" or the "back" side. In Unity, by default triangles seen from the "back" are not rendered. This is called backface culling.

To fix this you have two options:

  • Fix triangle windings in blender (by default in blender triangles seen from the "back" are rendered, look for backface culling option)
  • Use a double sided material in Unity (a material that has a shader with culling disabled, i.e. Cull Off).


来源:https://stackoverflow.com/questions/62561826/how-to-import-an-fbx-in-unity-correctly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!