From 05fa98f26bc8141ca537f6bac2666bec3d1c988d Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sat, 30 Jul 2022 09:16:36 +0200 Subject: [PATCH] Change light pos --- examples/graphicspipelinelibrary/graphicspipelinelibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/graphicspipelinelibrary/graphicspipelinelibrary.cpp b/examples/graphicspipelinelibrary/graphicspipelinelibrary.cpp index 39886aa3..79922a4f 100644 --- a/examples/graphicspipelinelibrary/graphicspipelinelibrary.cpp +++ b/examples/graphicspipelinelibrary/graphicspipelinelibrary.cpp @@ -23,7 +23,7 @@ public: struct UBOVS { glm::mat4 projection; glm::mat4 modelView; - glm::vec4 lightPos = glm::vec4(0.0f, 2.0f, 1.0f, 0.0f); + glm::vec4 lightPos = glm::vec4(0.0f, -2.0f, 1.0f, 0.0f); } uboVS; vks::Buffer uniformBuffer;