Fragen Fragen Fragen.
Posted: Thu Oct 06, 2005 7:35 pm
Can i use the Irrlicht Shaders in the Quake 3 Maps?
Official forum of the Irrlicht Engine
https://irrlicht.sourceforge.io/forum/
There may be some errors in the above code as I typed it from memory....
node = smgr->addOctTreeSceneNode(q3mesh->getMesh(0));
video::SMaterial& material1 = node->getMaterial(0);
material1.MaterialType = (video::E_MATERIAL_TYPE)shaderMaterial1;
video::SMaterial& material2 = node->getMaterial(1);
material2.MaterialType = (video::E_MATERIAL_TYPE)shaderMaterial2;
...
etc