add: added lighting classes and a shader to use multiple lights
This commit is contained in:
parent
ee9e540b5b
commit
2610da8f8c
4 changed files with 359 additions and 64 deletions
|
@ -1,3 +1,6 @@
|
|||
#ifndef OBJECT_HPP
|
||||
#define OBJECT_HPP
|
||||
|
||||
#include <myEngine/model.hpp>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
@ -47,4 +50,6 @@ public:
|
|||
shader.setMat4("model", modelMatrix);
|
||||
model.Draw(shader);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue