diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-10 01:51:38 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-10 01:51:38 +0000 |
| commit | 78b4b043a4fe6be84dd36717c832951a0a464f63 (patch) | |
| tree | bc82ca1c59d309491323779ebbe3195b4479b546 /gfx/gl/shadowStenciller.h | |
| parent | Switch to floating point, camera relative position buffer (diff) | |
| download | ilt-78b4b043a4fe6be84dd36717c832951a0a464f63.tar.bz2 ilt-78b4b043a4fe6be84dd36717c832951a0a464f63.tar.xz ilt-78b4b043a4fe6be84dd36717c832951a0a464f63.zip | |
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
| -rw-r--r-- | gfx/gl/shadowStenciller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h index 70dbca9..ff88ff7 100644 --- a/gfx/gl/shadowStenciller.h +++ b/gfx/gl/shadowStenciller.h @@ -1,9 +1,9 @@ #pragma once -#include "gfx/gl/program.h" #include "gfx/models/mesh.h" #include "gfx/models/texture.h" -#include "glArrays.h" +#include "glFramebuffer.h" +#include "program.h" class LightDirection; @@ -19,7 +19,7 @@ public: void renderStencil(const glTexture<GL_TEXTURE_2D_ARRAY> &, const MeshBase &, Texture::AnyPtr texture) const; private: - glFrameBuffer fbo; + mutable glFramebuffer fbo; Program shadowCaster; Program::RequiredUniformLocation viewProjectionLoc {shadowCaster, "viewProjection"}; |
