summaryrefslogtreecommitdiff
path: root/game/scenary
diff options
context:
space:
mode:
Diffstat (limited to 'game/scenary')
-rw-r--r--game/scenary/foliage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/scenary/foliage.cpp b/game/scenary/foliage.cpp
index 24caeb7..ba1b37e 100644
--- a/game/scenary/foliage.cpp
+++ b/game/scenary/foliage.cpp
@@ -18,7 +18,7 @@ Foliage::postLoad()
bodyMesh->configureVAO(instanceVAO)
.addAttribs<LocationVertex, &LocationVertex::first, &LocationVertex::second>(instances.bufferName(), 1);
ShadowStenciller ss;
- ss.renderStencil(shadowStencil, *bodyMesh);
+ ss.renderStencil(shadowStencil, *bodyMesh, texture);
Texture::saveDepth(shadowStencil, std::format("/tmp/stencil-{}.tga", id).c_str());
}