Skip to content

Commit

Permalink
Started with our texture uploading system
Browse files Browse the repository at this point in the history
  • Loading branch information
PR3C14D0 committed Aug 14, 2024
1 parent c340d00 commit 251112d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/private/Core/GameObject/Component/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ void Mesh::LoadModel(std::string filename) {
this->m_vertices[i] = vertices;

aiString texPath;
if (material->GetTextureCount(aiTextureType_DIFFUSE) > 0 && material->GetTexture(aiTextureType_DIFFUSE, 0, &texPath) == AI_SUCCESS) {
const aiTexture* texture = scene->GetEmbeddedTexture(texPath.C_Str());


}
}
}

0 comments on commit 251112d

Please sign in to comment.