Commit 599de0e7 authored by hybrid's avatar hybrid

Support another b3d material flag.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3027 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8bebbdbb
...@@ -870,7 +870,8 @@ bool CB3DMeshFileLoader::readChunkBRUS() ...@@ -870,7 +870,8 @@ bool CB3DMeshFileLoader::readChunkBRUS()
else else
B3dMaterial.Material.AmbientColor = B3dMaterial.Material.DiffuseColor; 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 if (B3dMaterial.fx & 4) //flatshaded
B3dMaterial.Material.GouraudShading = false; B3dMaterial.Material.GouraudShading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment