From 839bf2ab51c4ec55f06b4224716c564451758072 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 7 Jan 2023 15:41:04 +0000 Subject: Only generate the first N shadow maps which are useful Note: we don't yet optimise the use of the shadow map texture, each still renders into its own corner --- gfx/gl/camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/camera.h') diff --git a/gfx/gl/camera.h b/gfx/gl/camera.h index 5b2b4f4..94fd48b 100644 --- a/gfx/gl/camera.h +++ b/gfx/gl/camera.h @@ -61,7 +61,7 @@ public: return position; } - std::array extentsAtDist(float) const; + std::array extentsAtDist(float) const; static glm::vec3 upFromForward(const glm::vec3 & forward); -- cgit v1.2.3