Created a testing skybox and got the reflection and refraction working.

This commit is contained in:
Zed A. Shaw 2026-09-04 15:17:42 -04:00
parent 4ee5058e82
commit 29f1606085
20 changed files with 56 additions and 28 deletions

View file

@ -83,9 +83,9 @@ unsigned int texture_from_file(const std::string& directory, const std::string&
return textureID;
}
void Model::draw(Shader &shader) {
void Model::draw(Shader &shader, bool with_textures) {
for(auto& mesh : meshes) {
mesh.draw(shader);
mesh.draw(shader, with_textures);
}
}