Disable backface culling for transparent material for legacy pipeline

This commit is contained in:
Benau 2018-01-16 14:29:45 +08:00
parent effa23d952
commit 7aaac81d0a

View File

@ -862,6 +862,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
if (isTransparent())
{
m->ZWriteEnable = false;
m->BackfaceCulling = false;
}
#ifdef DEBUG