diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-28 19:29:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-28 19:29:53 +0000 |
commit | aaff59af171545cc16632881aefb19449a7c491a (patch) | |
tree | ab7923c987bdd8c4f95bf310abcb5171283f08c9 /gfx/gl/sceneRenderer.h | |
parent | Light camera centre not required, view camera position suffices (diff) | |
download | ilt-aaff59af171545cc16632881aefb19449a7c491a.tar.bz2 ilt-aaff59af171545cc16632881aefb19449a7c491a.tar.xz ilt-aaff59af171545cc16632881aefb19449a7c491a.zip |
Generate a single shadow band and region definition
Diffstat (limited to 'gfx/gl/sceneRenderer.h')
-rw-r--r-- | gfx/gl/sceneRenderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h index a345b4b..28acc3b 100644 --- a/gfx/gl/sceneRenderer.h +++ b/gfx/gl/sceneRenderer.h @@ -35,7 +35,8 @@ private: DirectionalLightProgram(); using Program::use; - void setDirectionalLight(const glm::vec3 &, const glm::vec3 &, const std::span<const glm::mat4x4>) const; + void setDirectionalLight(const glm::vec3 &, const glm::vec3 &, const std::span<const glm::mat4x4>, + const std::span<const glm::vec4>) const; private: RequiredUniformLocation directionLoc, colourLoc, lightViewProjectionLoc, lightViewProjectionCountLoc, |