diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-18 16:14:29 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-18 18:00:06 +0100 |
commit | 172beac34e82c86f8c16b8a1be5fca9d7ccfc0d1 (patch) | |
tree | 22607b9012b8140e6f80fad39f49d899ef12908c /game/scenary/foliage.h | |
parent | Add updateStencil to Renderable interface (diff) | |
download | ilt-172beac34e82c86f8c16b8a1be5fca9d7ccfc0d1.tar.bz2 ilt-172beac34e82c86f8c16b8a1be5fca9d7ccfc0d1.tar.xz ilt-172beac34e82c86f8c16b8a1be5fca9d7ccfc0d1.zip |
Update asset stencils from shadow mapper
Diffstat (limited to 'game/scenary/foliage.h')
-rw-r--r-- | game/scenary/foliage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/game/scenary/foliage.h b/game/scenary/foliage.h index 5367d44..fa6c63b 100644 --- a/game/scenary/foliage.h +++ b/game/scenary/foliage.h @@ -20,6 +20,7 @@ public: mutable InstanceVertices<LocationVertex> instances; void render(const SceneShader &) const override; void shadows(const ShadowMapper &) const override; + void updateStencil(const ShadowStenciller &) const override; glTexture shadowStencil = ShadowStenciller::createStencilTexture(256, 256); protected: |