Support another b3d material flag.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3027 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
8bebbdbbc2
commit
599de0e73e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue