summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowStenciller.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-09-07 12:35:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-09-07 12:35:03 +0100
commit5ec74c35fb1f2524add7fd03ace78667f93edb2e (patch)
treee8c560b6713aac68cc97bd957b5ffa8015ab75a0 /gfx/gl/shadowStenciller.h
parentPopulate all layers of the stencil texture (diff)
downloadilt-billboard-shadows.tar.bz2
ilt-billboard-shadows.tar.xz
ilt-billboard-shadows.zip
Populate all layers of shadow stencil with view from all aroundbillboard-shadows
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
-rw-r--r--gfx/gl/shadowStenciller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h
index 925f82a..2edb955 100644
--- a/gfx/gl/shadowStenciller.h
+++ b/gfx/gl/shadowStenciller.h
@@ -20,4 +20,5 @@ private:
Program::RequiredUniformLocation viewProjectionLoc {shadowCaster, "viewProjection"};
glm::mat4 lightDirMat {};
+ std::array<glm::mat4, 8> viewProjections;
};