Temporarily prevent z fighting
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -1975,7 +1975,8 @@ void render_3d(LunarWM *this, float /*dt*/)
|
|||||||
|
|
||||||
DrawTexture3D(tl->rl_texture,
|
DrawTexture3D(tl->rl_texture,
|
||||||
Vector3Add(this->renderer.center,
|
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);
|
this->renderer.center, this->cman->cfg.space.window_scale, false);
|
||||||
}
|
}
|
||||||
rlEnableBackfaceCulling();
|
rlEnableBackfaceCulling();
|
||||||
|
|||||||
Reference in New Issue
Block a user