Updated mesh shaders (better lighting with specular)
This commit is contained in:
parent
4807931164
commit
94f6b4a074
6 changed files with 17 additions and 19 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue