[solved] Node color
Posted: Tue May 11, 2010 9:42 pm
Hello,
I am creating new scene node (addSphereSceneNode()) and trying to set custom color of its render, but I don't know how I can made that.
I can create texture file with desired color (then setMaterialTexture()), but it's not too much elegant option, also, I need to change many times color of node while scene rendering.
I have tried to find something on this forum, google and documentation, but can't find anything that would answer to my problem.
I will be very thankful for any help!
Adam
I am creating new scene node (addSphereSceneNode()) and trying to set custom color of its render, but I don't know how I can made that.
I can create texture file with desired color (then setMaterialTexture()), but it's not too much elegant option, also, I need to change many times color of node while scene rendering.
I have tried to find something on this forum, google and documentation, but can't find anything that would answer to my problem.
I will be very thankful for any help!
Adam