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 870adb0..24caeb7 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, {-4000, -4000, 0}, {4000, 4000, 8000});
+ ss.renderStencil(shadowStencil, *bodyMesh);
Texture::saveDepth(shadowStencil, std::format("/tmp/stencil-{}.tga", id).c_str());
}