Support another b3d material flag.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3027 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2009-12-08 08:58:30 +00:00
parent 8bebbdbbc2
commit 599de0e73e
1 changed files with 2 additions and 1 deletions

View File

@ -870,7 +870,8 @@ bool CB3DMeshFileLoader::readChunkBRUS()
else
B3dMaterial.Material.AmbientColor = B3dMaterial.Material.DiffuseColor;
//if (B3dMaterial.fx & 2) //use vertex colors instead of brush color
if (B3dMaterial.fx & 2) //use vertex colors instead of brush color
B3dMaterial.Material.ColorMaterial=video::ECM_NONE;
if (B3dMaterial.fx & 4) //flatshaded
B3dMaterial.Material.GouraudShading = false;