Updated mesh shaders (better lighting with specular)

This commit is contained in:
saschawillems 2016-02-24 23:26:49 +01:00
parent 4807931164
commit 94f6b4a074
6 changed files with 17 additions and 19 deletions

View file

@ -67,7 +67,7 @@ public:
struct {
glm::mat4 projection;
glm::mat4 model;
glm::vec4 lightPos = glm::vec4(2.0f, 2.0f, -2.0f, 1.0f);
glm::vec4 lightPos = glm::vec4(5.0f, 5.0f, 5.0f, 1.0f);
} uboVS;
struct {