summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneRenderer.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 19:29:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 19:29:53 +0000
commitaaff59af171545cc16632881aefb19449a7c491a (patch)
treeab7923c987bdd8c4f95bf310abcb5171283f08c9 /gfx/gl/sceneRenderer.h
parentLight camera centre not required, view camera position suffices (diff)
downloadilt-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.h3
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,