summaryrefslogtreecommitdiff
path: root/gfx/renderable.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 03:41:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 03:41:32 +0000
commitaa75b018f3b97c72b57de68867417cbda51439c3 (patch)
tree446efaad2727ae6bff6433e8bfbf590e99d5e310 /gfx/renderable.h
parentAdd GL_DEBUG_OUTPUT with boost test error handling to test-render context (diff)
downloadilt-aa75b018f3b97c72b57de68867417cbda51439c3.tar.bz2
ilt-aa75b018f3b97c72b57de68867417cbda51439c3.tar.xz
ilt-aa75b018f3b97c72b57de68867417cbda51439c3.zip
Initial commit of the shadow map generator and shadows render interface
Lots of hard coding, buggy in places, far from great, but the basics work.
Diffstat (limited to 'gfx/renderable.h')
-rw-r--r--gfx/renderable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h
index f75c36f..5a9b1cd 100644
--- a/gfx/renderable.h
+++ b/gfx/renderable.h
@@ -3,6 +3,7 @@
#include <special_members.hpp>
class SceneShader;
+class ShadowMapper;
class Renderable {
public:
@@ -12,4 +13,5 @@ public:
virtual void render(const SceneShader & shader) const = 0;
virtual void lights(const SceneShader & shader) const;
+ virtual void shadows(const ShadowMapper & shadowMapper) const;
};