diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-10 02:12:16 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-11 01:13:59 +0000 |
commit | 194148abd9ab89a5a514a37b7717b7c4de6aa758 (patch) | |
tree | 5163df40e57c4c55b4a6035e699572bd55b0d7cf /gfx/renderable.h | |
parent | Simplify ShadowMapper with AxisAlignedBoundingBox (diff) | |
download | ilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.tar.bz2 ilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.tar.xz ilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.zip |
Pass a Frustum to shadow renderers
The frustum might not be correct at this stage.
Diffstat (limited to 'gfx/renderable.h')
-rw-r--r-- | gfx/renderable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h index 9fbeccd..140c570 100644 --- a/gfx/renderable.h +++ b/gfx/renderable.h @@ -15,7 +15,7 @@ public: virtual void render(const SceneShader & shader, const Frustum &) const = 0; virtual void lights(const SceneShader & shader) const; - virtual void shadows(const ShadowMapper & shadowMapper) const; + virtual void shadows(const ShadowMapper & shadowMapper, const Frustum &) const; virtual void updateStencil(const ShadowStenciller & lightDir) const; }; |