change lightDir
This commit is contained in:
parent
fa6074be89
commit
17eefb3324
@ -21,7 +21,7 @@ unsigned int cubemapTexture, skyboxVAO;
|
||||
|
||||
float old_x, old_y = -1;
|
||||
glm::vec3 cursorDiff;
|
||||
glm::vec3 lightDir = glm::normalize(glm::vec3(0.0f, 0.0f, 1.0f));
|
||||
glm::vec3 lightDir = glm::normalize(glm::vec3(1.0f, -10.f, -1.0f));
|
||||
glm::vec3 cameraPos = glm::vec3(0, 0, 5);
|
||||
glm::vec3 cameraDir; // Wektor "do przodu" kamery
|
||||
glm::vec3 cameraSide; // Wektor "w bok" kamery
|
||||
|
Loading…
Reference in New Issue
Block a user