change lightDir

This commit is contained in:
Thyme1 2021-12-30 14:27:10 +01:00
parent fa6074be89
commit 17eefb3324

View File

@ -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