Temporarily prevent z fighting

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-10 13:08:52 +03:00
parent 39a27eaae6
commit aa80a4c9d0

View File

@@ -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();