- Home /
Parts of mesh become invisible at certian angles
Hey,
I am importing an fbx model but parts of it are invisible in the scene And game at certain angles.
Attached image SS-1 = the full model - You can see that some parts of the mesh are invisible Attached image SS-2 = closeup of an invisible mesh selected
Any ideas what's going on?
I expect some of the face normals are the wrong orientation. Are you exporting the fbx from somewhere or is it a download?
It's a download. But it can't be that some of them have wrong orientation, it's either all of them or none because all parts get transparent at some angles.
Any pointers how can I check this?
You could import into a program and check. I use Blender and I would just import then get it to show normals.
Answer by Uzi187 · Dec 18, 2017 at 07:24 PM
There are two options to fix this; For me the second one worked because my model had to rotate constantly.
1- If your model isn't going to rotate just fix the normals. Normals facing backwards are not rendered if Cull Back (default) is set in the shader.
2- If the model is going to rotate you need to change the Cull Settings in the shader; use Cull Off instead of Cull Back. See unity docs: https://docs.unity3d.com/Manual/SL-CullAndDepth.htm
Also you can download default shaders from Unity download page.
Answer by belarb · Dec 18, 2017 at 05:51 PM
Hello! I have the same problem, did you find out whats going on?,Hello! I have the same problem, did you find out whats going on?
Yes I did. Posting it as an answer so it helps others as well!