I have a model in blender that I made, and to create the texture I have some nodes that are linked to a material output. This all appears as expected in rendered mode.
Now to make this work in jMonkey, you have to UV Map the textures because otherwise it appears as a grey/white object.
My Question is: does anyone know how to UV map the material created by the node, because when I unwraped my object, in the UV/Image editor there are no textures.
In edit mode press U (like unwrap ) choose Smart UV Project (simplest if u don’t know how to do it yourself). Now in UV/image editor select/load your image. Now in 3D view exit edit mode (to object mode) and save/import your model.
And probably you need to assign material and add there your texture too. I do it always so I’m not sure if it is nessesary.
If the UV coordinates are saved onto the model itself you do not have to bake in the texture.
The jme .j3o will map any image you put as the material to the models UV coordinates IF they have them.
So by applying the UV coordinates in blender and just exporting the UV layout. You can make as many maps as you want and just load them as the texture via the jme material setTexture() method