Material File

From Rigs Of Rods

Revision as of 23:57, 28 January 2006 by Admin (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

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 TruckDescriptionFile and mytrucktexture.png is the name of the TextureFile.

Personal tools