![Image](https://preview.ibb.co/eaXznn/nodiffuse.png)
I want get the following effect which I got in the rhinoceros software:
![Image](https://preview.ibb.co/eGON7n/diffuse.png)
I tried these settings but still not work.
Code: Select all
smgr->setAmbientLight(video::SColor(0, 60, 60, 60));
n->setMaterialType(video::EMT_SOLID);
n->getMaterial(0).SpecularColor.set(255, 255, 255, 255);
n->getMaterial(0).AmbientColor.set(255, 255, 255, 255);
n->getMaterial(0).DiffuseColor.set(255, 255, 255, 255);
n->getMaterial(0).EmissiveColor.set(40, 40, 40, 40);