Code: Select all
node->getMaterial(0).ColorMaterial = irr::video::ECM_NONE;
node->getMaterial(0).SpecularColor = irr::video::SColor(255,0,0,0);
node->getMaterial(0).AmbientColor = irr::video::SColor(255,0,0,0);
node->getMaterial(0).DiffuseColor = irr::video::SColor(255,50,50,50);
Setting the color material ECM_NONE is the only thing that gave me any control of colors. Emissive still seems to work fine. However I'm finding it very difficult and non-intuitive to change diffuse and ambient color.
I have no idea why the smaller meshes are reacting so poorly to the lighting as compared to the rest of the meshes in the scene, it makes no sense to me. Even after overriding the colors, they still show up wrong.
I am using irrlicht from the trunk of about a week ago.. so.. will update it and recompile. But I swear when 1.8 released, lighting went to crap. Any confirmations elsewhere?