Diffuse lighting and sending the normals to shaders

This commit is contained in:
Ben
2019-02-18 14:27:35 +00:00
parent d2775830d5
commit 078d4e52bf
12 changed files with 800 additions and 129 deletions

View File

@@ -22,7 +22,7 @@
void LoadOBJ(Logger& logger,
std::string file,
std::vector<glm::vec4>& vertices,
std::vector<glm::vec3>& vertices,
std::vector<glm::vec3>& normals,
std::vector<GLushort>& elements);