Disable backface culling for transparent material for legacy pipeline
This commit is contained in:
parent
effa23d952
commit
7aaac81d0a
@ -862,6 +862,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
|
||||
if (isTransparent())
|
||||
{
|
||||
m->ZWriteEnable = false;
|
||||
m->BackfaceCulling = false;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user