1
0
Fork 0

Temporary fix for the transparent particles glitch

backport
Maksim 2022-07-03 23:35:36 +03:00
parent 0bfc98fe26
commit 7b0794d243
1 changed files with 1 additions and 0 deletions

View File

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