From 194148abd9ab89a5a514a37b7717b7c4de6aa758 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 10 Mar 2025 02:12:16 +0000 Subject: Pass a Frustum to shadow renderers The frustum might not be correct at this stage. --- game/scenary/foliage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/scenary/foliage.h') diff --git a/game/scenary/foliage.h b/game/scenary/foliage.h index 422c7aa..71bc734 100644 --- a/game/scenary/foliage.h +++ b/game/scenary/foliage.h @@ -25,7 +25,7 @@ public: mutable InstanceVertices instances; void render(const SceneShader &, const Frustum &) const override; - void shadows(const ShadowMapper &) const override; + void shadows(const ShadowMapper &, const Frustum &) const override; void updateStencil(const ShadowStenciller &) const override; glTexture shadowStencil = ShadowStenciller::createStencilTexture(256, 256); -- cgit v1.2.3