summaryrefslogtreecommitdiff
path: root/game/scenary
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-10-10 01:13:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-10-10 01:13:22 +0100
commita5903c351d9219524cf6440d299e57ac66e7ae35 (patch)
tree126219adac38d7a3036dd68411ddaa9c34c60e53 /game/scenary
parentGenerate stencils as views offset from light direction (diff)
downloadilt-a5903c351d9219524cf6440d299e57ac66e7ae35.tar.bz2
ilt-a5903c351d9219524cf6440d299e57ac66e7ae35.tar.xz
ilt-a5903c351d9219524cf6440d299e57ac66e7ae35.zip
Don't dump stencil texture
Diffstat (limited to 'game/scenary')
-rw-r--r--game/scenary/foliage.cpp2
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());
}
}