diff --git a/src/graphics/stk_text_billboard.cpp b/src/graphics/stk_text_billboard.cpp index 7f69c723d..1365d0ee6 100644 --- a/src/graphics/stk_text_billboard.cpp +++ b/src/graphics/stk_text_billboard.cpp @@ -92,7 +92,7 @@ scene::IMesh* STKTextBillboard::getTextMesh(core::stringw text, gui::ScalableFon { buffer = new scene::SMeshBuffer(); buffer->getMaterial().setTexture(0, m_chars[i].m_texture); - buffer->getMaterial().MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF; + buffer->getMaterial().MaterialType = irr_driver->getShader(ES_OBJECT_UNLIT); buffers[m_chars[i].m_texture] = buffer; } else @@ -147,7 +147,7 @@ scene::IMesh* STKTextBillboard::getTextMesh(core::stringw text, gui::ScalableFon map_itr->second->drop(); } - getMaterial(0).MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF; + getMaterial(0).MaterialType = irr_driver->getShader(ES_OBJECT_UNLIT); return Mesh; }