how can I change back face cull mode of rendering?
how can I change back face cull mode of rendering?
in directX there are 3 kinds of back face culling mode.Clockwize,anti-clock-wize,non-cull.How can I change this back face culling mode in irrlicht?.
To be more specific, you'll want to look at setMaterialFlag() in the IMesh interface or the ISceneNode interface.It would also be a good idea to look at SMaterial.
Code: Select all
mesh->setMaterialFlag(EMF_BACK_FACE_CULLING, false);
node->setMaterialFlag(EMF_FRONT_FACE_CULLING, false);