Lightning gives seames between vertices

I have a program that reads a collada file exported from blender and attaches it (indirectly) to the root node. When i try to light the model i get borders at the end of the vertixes like the redish vertex in the picture under. It seems like the animated model (the human) that is loaded with md5loader2 works correctly.

Does anybody know how to fix it? If you need more information don’t hensitate to ask.

I found out that i had to set a material in blender to make the collada exporter export the right way.