Fixed the textures problem but it's still not amazing.

This commit is contained in:
Zed A. Shaw 2026-08-27 14:29:52 -04:00
parent 2ce7375233
commit d03afb31e1
8 changed files with 11 additions and 25 deletions

View file

@ -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);
}
}