From aa80a4c9d0490a3d16fa5d94355b39dae8396a9c Mon Sep 17 00:00:00 2001 From: Slendi Date: Sun, 10 Aug 2025 13:08:52 +0300 Subject: [PATCH] Temporarily prevent z fighting Signed-off-by: Slendi --- src/LunarWM.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LunarWM.c b/src/LunarWM.c index 2e30b4c..33237f8 100644 --- a/src/LunarWM.c +++ b/src/LunarWM.c @@ -1975,7 +1975,8 @@ void render_3d(LunarWM *this, float /*dt*/) DrawTexture3D(tl->rl_texture, Vector3Add(this->renderer.center, - (Vector3) { 0, 0, this->cman->cfg.space.radius }), + (Vector3) { + 0, 0, this->cman->cfg.space.radius - 0.01 * (float)i }), this->renderer.center, this->cman->cfg.space.window_scale, false); } rlEnableBackfaceCulling();