From cb8b68499455d706b9d53fe69a9e6234e8eed304 Mon Sep 17 00:00:00 2001
From: Joseph Walton-Rivers <joseph@walton-rivers.uk>
Date: Sat, 23 Apr 2022 11:15:16 +0100
Subject: [PATCH] move the test light

---
 fggl/gfx/ogl4/models.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fggl/gfx/ogl4/models.cpp b/fggl/gfx/ogl4/models.cpp
index 5e8e762..f77f333 100644
--- a/fggl/gfx/ogl4/models.cpp
+++ b/fggl/gfx/ogl4/models.cpp
@@ -140,7 +140,7 @@ namespace fggl::gfx::ogl4 {
 			const math::mat4 viewMatrix = glm::lookAt( camTransform->origin(), camComp->target, camTransform->up() );
 
 			// TODO lighting needs to not be this...
-			math::vec3 lightPos{20.0f, 20.0f, 15.0f};
+			math::vec3 lightPos{0.0f, 10.0f, 0.0f};
 
 			auto renderables = world.findMatching<StaticModel>();
 			for ( const auto& entity : renderables ){
-- 
GitLab