Lighting Problem
Posted: Mon Oct 23, 2006 8:45 pm
I have a couple of .md2 models in my scene. I made these models using Blender.
I tried to place a light in my scene, but with or without the light, my models are full-bright and unaffected by any light I add.
I used the commands...
material.Lighting = true;
and
sceneNode->setMaterialFlag(EMF_LIGHTING, true);
...to no avail.
I'll post my code if asked to, but can anyone come up with an obvious mistake I'm making?
I tried to place a light in my scene, but with or without the light, my models are full-bright and unaffected by any light I add.
I used the commands...
material.Lighting = true;
and
sceneNode->setMaterialFlag(EMF_LIGHTING, true);
...to no avail.
I'll post my code if asked to, but can anyone come up with an obvious mistake I'm making?