diff --git a/graphics/src/AssimpLoader.cc b/graphics/src/AssimpLoader.cc index d2e3b754..b20bb837 100644 --- a/graphics/src/AssimpLoader.cc +++ b/graphics/src/AssimpLoader.cc @@ -700,6 +700,9 @@ SubMesh AssimpLoader::Implementation::CreateSubMesh( subMesh.AddIndex(face.mIndices[2]); } subMesh.SetMaterialIndex(_assimpMesh->mMaterialIndex); + if (subMesh.NormalCount() == 0u){ + subMesh.RecalculateNormals(); + } return subMesh; }