So, onto my problem:
I am running on osx with the OpenGL driver and when I try to draw a 3D triangle using:
Code: Select all
SMaterial m;
m.Lighting = false;
m.Wireframe = false;
CEngine::GetDriver()->setMaterial(m);
CEngine::GetDriver()->setTransform(video::ETS_WORLD, core::matrix4());
CEngine::GetDriver()->draw3DTriangle(t1, flag2 ? sColour1 : sColour2);
the triangles draw as they should except they are wireframe? Is this the expected behaviour of draw3DTriangle?