From 80cfd4e0d5e928c2ffed9c4510441fb950908665 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 28 Dec 2022 15:13:01 +0000 Subject: Initial support for multiple shadow maps in the same texture --- gfx/gl/sceneRenderer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gfx/gl/sceneRenderer.h') diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h index d7a92b7..a345b4b 100644 --- a/gfx/gl/sceneRenderer.h +++ b/gfx/gl/sceneRenderer.h @@ -35,10 +35,11 @@ private: DirectionalLightProgram(); using Program::use; - void setDirectionalLight(const glm::vec3 &, const glm::vec3 &, const glm::mat4x4 &) const; + void setDirectionalLight(const glm::vec3 &, const glm::vec3 &, const std::span) const; private: - RequiredUniformLocation directionLoc, colourLoc, lightViewProjectionLoc; + RequiredUniformLocation directionLoc, colourLoc, lightViewProjectionLoc, lightViewProjectionCountLoc, + lightViewShadowMapRegionLoc; }; DeferredLightProgram lighting; -- cgit v1.2.3