diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-30 22:48:33 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-30 22:48:33 +0000 |
commit | 3c239338f5d1e97e3c0ddd05976e14b20758e07d (patch) | |
tree | 7eb3c254b681d2cafbc9ce8f13b285a9313474c4 /gfx/gl/sceneRenderer.h | |
parent | 3D relative scaling in asset factory (diff) | |
parent | Adjust light view projection matrix upfront (diff) | |
download | ilt-3c239338f5d1e97e3c0ddd05976e14b20758e07d.tar.bz2 ilt-3c239338f5d1e97e3c0ddd05976e14b20758e07d.tar.xz ilt-3c239338f5d1e97e3c0ddd05976e14b20758e07d.zip |
Merge branch 'geo-shadows'
Diffstat (limited to 'gfx/gl/sceneRenderer.h')
-rw-r--r-- | gfx/gl/sceneRenderer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h index 797ecf1..021936f 100644 --- a/gfx/gl/sceneRenderer.h +++ b/gfx/gl/sceneRenderer.h @@ -6,7 +6,6 @@ #include "sceneProvider.h" #include "sceneShader.h" #include "shadowMapper.h" -#include <functional> #include <glm/fwd.hpp> class SceneRenderer { @@ -39,12 +38,12 @@ protected: DirectionalLightProgram(); using Program::use; - void setDirectionalLight(const RGB &, const Direction3D &, const GlobalPosition3D &, - const std::span<const glm::mat4x4>, const std::span<const TextureRelRegion>, std::size_t maps) const; + void setDirectionalLight( + const RGB &, const Direction3D &, const GlobalPosition3D &, const std::span<const glm::mat4x4>) const; private: RequiredUniformLocation directionLoc, colourLoc, lightPointLoc, lightViewProjectionLoc, - lightViewProjectionCountLoc, lightViewShadowMapRegionLoc; + lightViewProjectionCountLoc; }; DeferredLightProgram lighting; |