mykeh13
07-03-2009 16:10:43
Hi there.
This time i have the question about ambientlight, is supposed to dark or light all scenery without shadows, like brightness....
I dont know why only some meshes get affected by ambientLight,
Using this next code :
I got this render:

Just see the long red carpet, that one with the red circle is affected by ambientLight.
But the blue one not, yet if i get all dark setting ambientLight to (0,0,0), this one will get lighted...
Do I must to set something in ogre or blender...
Thanks.. !
This time i have the question about ambientlight, is supposed to dark or light all scenery without shadows, like brightness....
I dont know why only some meshes get affected by ambientLight,
Using this next code :
sceneManager.ambientLight = (.5,.5,.5)
I got this render:
Just see the long red carpet, that one with the red circle is affected by ambientLight.
But the blue one not, yet if i get all dark setting ambientLight to (0,0,0), this one will get lighted...
Do I must to set something in ogre or blender...
Thanks.. !