Material File
From Rigs Of Rods
(Difference between revisions)
(rocotrtal) |
|||
| Line 1: | Line 1: | ||
| + | relbaserouro | ||
This is the description of the material used for the truck body. | This is the description of the material used for the truck body. | ||
It is a Material file in [[Ogre3D]] Format, and it is a text file. | It is a Material file in [[Ogre3D]] Format, and it is a text file. | ||
Current revision as of 13:53, 12 July 2008
relbaserouro This is the description of the material used for the truck body. It is a Material file in Ogre3D Format, and it is a text file. A typical material file looks like that:
material mytruckmaterial
{
technique
{
pass
{
texture_unit
{
texture mytrucktexture.png
}
}
}
}
Where mytruckmaterial is the material referenced in the globals section of the Truck Description File and mytrucktexture.png is the name of the Texture File.
