diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-19 23:26:32 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-19 23:26:32 +0100 |
commit | dd452f3e9238be954c3ecd325ed11e97a50ec1c3 (patch) | |
tree | ffe8390a875dbd252085ec0ee3ec1cd8cd68a0c7 /gfx/gl/shadowMapper.h | |
parent | Shuffle some GL state setting (diff) | |
download | ilt-dd452f3e9238be954c3ecd325ed11e97a50ec1c3.tar.bz2 ilt-dd452f3e9238be954c3ecd325ed11e97a50ec1c3.tar.xz ilt-dd452f3e9238be954c3ecd325ed11e97a50ec1c3.zip |
Persist a single ShadowStenciller within ShadowMapper
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r-- | gfx/gl/shadowMapper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h index 73dadd0..280a0cd 100644 --- a/gfx/gl/shadowMapper.h +++ b/gfx/gl/shadowMapper.h @@ -1,6 +1,7 @@ #pragma once #include "config/types.h" +#include "gfx/gl/shadowStenciller.h" #include "lib/glArrays.h" #include "program.h" #include <gfx/models/texture.h> @@ -61,4 +62,5 @@ private: glFrameBuffer depthMapFBO; glTexture depthMap; TextureAbsCoord size; + mutable ShadowStenciller shadowStenciller; }; |