summaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-03-10 13:18:03 +1100
committerquou <quou@disroot.org>2025-03-10 13:18:03 +1100
commita7ef36bc519dff1700048ba8f21658daa138a81a (patch)
tree8778d112afdf21be6c1856fc062b8969f5ee3739 /model.cpp
parent0bc95e2084b970819d15306f7e3ab8b81a108dcd (diff)
msaa
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/model.cpp b/model.cpp
index f24c0eb..cb9c23e 100644
--- a/model.cpp
+++ b/model.cpp
@@ -384,7 +384,7 @@ void Model_Instance::render(
res.vp
);
} else {
- pb.depth(true, false, Depth_Mode::equal);
+ pb.depth(true, true, Depth_Mode::less);
pb.shader(mesh.shader);
pb.sbuffer(mesh.light_binding, lighting->lights.gpuonly);
pb.sbuffer(mesh.casters_binding, lighting->casters.gpuonly);