basic lighting

This commit is contained in:
2025-11-27 11:37:56 +00:00
parent bb7a3bafd2
commit 25a54bab1b
6 changed files with 88 additions and 19 deletions

View File

@@ -17,6 +17,7 @@ public:
void setInt(const std::string &name, int value) const;
void setFloat(const std::string &name, float value) const;
void setMat4(const std::string &name, const glm::mat4 &mat) const;
void setVec3(const std::string &name, const glm::vec3 &vec) const;
~Shader();
private:
const char* read_file(const char* filePath);