diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-02 00:15:35 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-02 00:15:35 -0400 |
commit | e8d3e8f0522b6d7896f1e3d330c70af5376f7c4c (patch) | |
tree | e71ee1cfef7e400ee481c253ec52c0726cda2705 /src | |
parent | 7f66a924156e6baa9110e2e023e3a24c31ce95d3 (diff) |
Made lighting a bit softer
Diffstat (limited to 'src')
-rw-r--r-- | src/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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++; }); |