Yadoob has made a PDF document that explains the way models are rendered in-game, and how that process can be replicated in model rendering programs such as Blender. This knowledge is also useful for those who wish to make more complicated texture mods. You can view the PDF document here.