Commit 37a6fef5 authored by hybrid's avatar hybrid

Fix transparent shaders, seems that the base setup does not fix all blend mode settings properly.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3770 dfc29bdd-3216-0410-991c-e03cc46cb475
parent eba0f918
......@@ -318,6 +318,7 @@ int main()
node->setPosition(core::vector3df(0,-10,50));
node->setMaterialTexture(0, driver->getTexture("../../media/wall.bmp"));
node->setMaterialFlag(video::EMF_LIGHTING, false);
node->setMaterialFlag(video::EMF_BLEND_OPERATION, true);
node->setMaterialType((video::E_MATERIAL_TYPE)newMaterialType2);
smgr->addTextSceneNode(gui->getBuiltInFont(),
......
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