How to make models shine from blender

Hi guys, I now have loaded a model successfully but it does not shine when a light is around it. How would i make it have shadow and such to make it look like a real object with shadows. I dont know if this is something i would do in blender or something that would be coded in JME. I looked on wiki but the thing i found did not really work I think it was depreciated.

You need to use the lighting material definition if you want a model to be affected by lightings.

Ok so this seems to work:



[java] Material mat_lit = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md");

mat_lit.setTexture("m_DiffuseMap", assetManager.loadTexture("Textures/GPod.tga"));

mat_lit.setFloat("m_Shininess", 10f); // [0,128]

b.setMaterial(mat_lit);

[/java]



Thanks!