I am trying out a model which I didn't build for test purposes.
It is in obj format.
Now I have lighting in my scene obviously so I set the model to receive light with
node->setMaterialFlag(EMF_LIGHTING, true);
However when I do this the model comes out black.
If I do the settings like this
node->setMaterialFlag(EMF_LIGHTING, false);
Then I can see the diffuse map clearly.
You can clearly see that there is light in the scene from my image so I am wondeirng why the model should be black.
I have other models in the scene which are not black. Any ideas?

There is clearly light in the scene, and you can even see the shadow, but I don't understand why the model comes out black.
Normally I build all my models but i am using this model as a test piece until I have time to build my own models.
My other models in the scene were exported in x format, but sometimes obj is more convenient.
Really wish irrlicht supported FBX as that works well in Unity.