Commit 617d5a4e authored by hybrid's avatar hybrid

Fix default blend mode to EBO_NONE, in order to avoid unintended blending

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3660 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e5a7ecb6
...@@ -219,7 +219,7 @@ namespace video ...@@ -219,7 +219,7 @@ namespace video
EmissiveColor(0,0,0,0), SpecularColor(255,255,255,255), EmissiveColor(0,0,0,0), SpecularColor(255,255,255,255),
Shininess(0.0f), MaterialTypeParam(0.0f), MaterialTypeParam2(0.0f), Thickness(1.0f), Shininess(0.0f), MaterialTypeParam(0.0f), MaterialTypeParam2(0.0f), Thickness(1.0f),
ZBuffer(ECFN_LESSEQUAL), AntiAliasing(EAAM_SIMPLE), ColorMask(ECP_ALL), ZBuffer(ECFN_LESSEQUAL), AntiAliasing(EAAM_SIMPLE), ColorMask(ECP_ALL),
ColorMaterial(ECM_DIFFUSE), BlendOperation(EBO_ADD), ColorMaterial(ECM_DIFFUSE), BlendOperation(EBO_NONE),
PolygonOffsetFactor(0), PolygonOffsetDirection(EPO_FRONT), PolygonOffsetFactor(0), PolygonOffsetDirection(EPO_FRONT),
Wireframe(false), PointCloud(false), GouraudShading(true), Wireframe(false), PointCloud(false), GouraudShading(true),
Lighting(true), ZWriteEnable(true), BackfaceCulling(true), FrontfaceCulling(false), Lighting(true), ZWriteEnable(true), BackfaceCulling(true), FrontfaceCulling(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