diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-09-07 12:35:03 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-09-07 12:35:03 +0100 |
commit | 5ec74c35fb1f2524add7fd03ace78667f93edb2e (patch) | |
tree | e8c560b6713aac68cc97bd957b5ffa8015ab75a0 /gfx/gl/shadowStenciller.h | |
parent | Populate all layers of the stencil texture (diff) | |
download | ilt-5ec74c35fb1f2524add7fd03ace78667f93edb2e.tar.bz2 ilt-5ec74c35fb1f2524add7fd03ace78667f93edb2e.tar.xz ilt-5ec74c35fb1f2524add7fd03ace78667f93edb2e.zip |
Populate all layers of shadow stencil with view from all around
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
-rw-r--r-- | gfx/gl/shadowStenciller.h | 1 |
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; }; |