it has to do with the normal maps on the mesh, when editing in something like blender, you can select the faces you want to be smooth, and set them to Smooth. to learn more watch some basic modeling tutorials, but in the end, this is all stuff done at the time of making the model.