.mtl File Format
# # example .mtl file # newmtl cube_mtl Ns 64.0 Tr 1.0 Kd 0.7 0.7 0.7 Ks 0.0 0.0 0.0 Ka 0.1 0.1 0.1 map_Kd texture.jpgExplaination of each line:
- # comments
comments - newmtl materialName
specify the name for these material settings - Ns s
shininess - Tr alpha
transparency - Kd r g b
diffuse color - Ks r g b
specular color - Ka r g b
ambient color - Ke r g b
emissive color - map_Kd filename
diffuse texture map