summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 15:13:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 15:13:05 +0000
commit80cfd4e0d5e928c2ffed9c4510441fb950908665 (patch)
tree480f819d4bb7eaf7ad6f86c9a2f9bce3c91b09c2 /gfx/gl/shadowMapper.h
parentRender some train bodies to test shadowing (diff)
downloadilt-80cfd4e0d5e928c2ffed9c4510441fb950908665.tar.bz2
ilt-80cfd4e0d5e928c2ffed9c4510441fb950908665.tar.xz
ilt-80cfd4e0d5e928c2ffed9c4510441fb950908665.zip
Initial support for multiple shadow maps in the same texture
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r--gfx/gl/shadowMapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h
index 45a9536..2b9bc85 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -11,7 +11,7 @@ class ShadowMapper {
public:
ShadowMapper(const glm::ivec2 & size);
- glm::mat4x4 update(const SceneProvider &, const glm::vec3 & direction, const Camera &) const;
+ std::array<glm::mat4x4, 1> update(const SceneProvider &, const glm::vec3 & direction, const Camera &) const;
class FixedPoint : public Program {
public: