Now, my problem is that when rendering it under OpenGL it has this annoying color flickering when moving the camera direction, while when rendered under Direct3D it works, quite fine with no flickers at all.
I've attached two screenshots showing how it looks when moving the camera just a little bit to the right. You'll see that the whole mesh darkens significantly.


It also seems that the
nody->setMaterialFlag(video::EMF_LIGHTING, true);
flag doesn't make any difference, since even when there's no light at all the mesh remains completely iluminated as if it was receiving light from an omnidirectional like source.
Any help appreciated,
Thanks.