From 7b0794d24315f50864bf9ac04fbf65cecaafc84c Mon Sep 17 00:00:00 2001 From: Maksim Date: Sun, 3 Jul 2022 23:35:36 +0300 Subject: [PATCH] Temporary fix for the transparent particles glitch --- src/client/particles.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/particles.cpp b/src/client/particles.cpp index fa393a39e..5e1930c24 100644 --- a/src/client/particles.cpp +++ b/src/client/particles.cpp @@ -76,6 +76,7 @@ Particle::Particle( m_material.setFlag(video::EMF_BACK_FACE_CULLING, false); m_material.setFlag(video::EMF_BILINEAR_FILTER, false); m_material.setFlag(video::EMF_FOG_ENABLE, true); + m_material.setFlag(video::EMF_ZWRITE_ENABLE, false); m_material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; m_material.setTexture(0, texture); m_texpos = texpos;