Setting Many Materials

Hello! So, I’d like to add the same type of material properties to essentially all the meshes in my scene file… and there are quite a few! Now, I have been able to make a material with the Material Editor in the SDK, add the appropriate texture etc. and work with that, but it left me with three big questions:

  • Is it possible to have a material which keeps the imported texture of the model, and just make the variables (in this case, shininess) stay, so that the entire scene looks identical apart from the fact that it doesn’t look all slick and glossy that Blender does when it imports it? When I try to make a texture in the Material Editor with no texture, normal map, specular map etc. at all, and just reduce the shininess, all the textures (understandably) disappear from the models that I apply the material to and they get the boring, gray default material texture.

  • If so, is there a way to quickly apply it to an entire scene? (Code or SceneExplorer are both fine, but I am guessing it will mostly be in the code)

  • Lastly, can I change the glossiness in some other way, like in Blender directly? (If yes, that would be enough answer for the two other questions as well)

This post might be helpful:
http://hub.jmonkeyengine.org/forum/topic/turning-on-vertex-lighting/#post-290844