From e8d3e8f0522b6d7896f1e3d330c70af5376f7c4c Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Mon, 2 Sep 2019 00:15:35 -0400 Subject: Made lighting a bit softer --- src/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/render.cpp b/src/render.cpp index bd168ed..d9cc054 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -94,7 +94,7 @@ void RenderSystem::update([[maybe_unused]] entityx::EntityManager& entities, [&] (entityx::Entity, Light &l, Position &p){ - lightPos.push_back(glm::vec3(p.x, p.y, 0.0)); + lightPos.push_back(glm::vec3(p.x, p.y,-10.0)); lightColor.push_back(glm::vec4(l.r, l.g, l.b, l.strength)); lightNum++; }); -- cgit v1.2.3