Fixed the textures problem but it's still not amazing.
This commit is contained in:
parent
2ce7375233
commit
d03afb31e1
8 changed files with 11 additions and 25 deletions
|
|
@ -209,9 +209,3 @@ void Model::load_material_textures(const aiScene *scene, std::vector<Texture>& t
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Model::connect_shader(const Shader& shader) {
|
||||
for(auto& mesh : meshes) {
|
||||
mesh.connect_shader(shader);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue