Material visible inside


I exported a pseudo-human figure from blender, and imported it with jme. Everything is working fine, besides the material I assigned is just visible inside the figure (can see it through the eyeholes, because the eyes are a bit displaced). Outside, the figure looks gray, like it had no material assigned.

Everything else looks well, (terrain, jme-objects, as boxes, with textures/colors).

When I render the figure in Blender, it looks ok, the material is shown where it has to be.


Solved it, had to recalculate normals outside in blender.