diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-10 01:13:22 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-10 01:13:22 +0100 |
commit | a5903c351d9219524cf6440d299e57ac66e7ae35 (patch) | |
tree | 126219adac38d7a3036dd68411ddaa9c34c60e53 /game/scenary/foliage.cpp | |
parent | Generate stencils as views offset from light direction (diff) | |
download | ilt-a5903c351d9219524cf6440d299e57ac66e7ae35.tar.bz2 ilt-a5903c351d9219524cf6440d299e57ac66e7ae35.tar.xz ilt-a5903c351d9219524cf6440d299e57ac66e7ae35.zip |
Don't dump stencil texture
Diffstat (limited to 'game/scenary/foliage.cpp')
-rw-r--r-- | game/scenary/foliage.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/game/scenary/foliage.cpp b/game/scenary/foliage.cpp index c90d5be..a0ec576 100644 --- a/game/scenary/foliage.cpp +++ b/game/scenary/foliage.cpp @@ -2,7 +2,6 @@ #include "gfx/gl/sceneShader.h" #include "gfx/gl/shadowMapper.h" #include "gfx/gl/vertexArrayObject.h" -#include "gfx/models/texture.h" bool Foliage::persist(Persistence::PersistenceStore & store) @@ -26,7 +25,6 @@ Foliage::updateStencil(const ShadowStenciller & ss) const { if (instances.size() > 0) { ss.renderStencil(shadowStencil, *bodyMesh, texture); - Texture::saveDepth(shadowStencil, std::format("/tmp/stencil-{}.tga", id).c_str()); } } |