Material Maker
by Shaderman · 02/01/2009 (2:48 am) · 3 comments
Material Maker is a small (Dos) tool to create a materials.cs files from image files found in a directory.
Usage: mm C:\somedir
This is what a material would look lile for a file Image.jpg:
Download Material Maker
Warning! An existing materials.cs file will be overwritten.
Usage: mm C:\somedir
This is what a material would look lile for a file Image.jpg:
new Material(mImage)
{
baseTex[0] = "Image";
bumpTex[0] = "Image_bump";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 32.0;
};Download Material Maker
Warning! An existing materials.cs file will be overwritten.
#3
I was doing the old "cut & paste, then edit the names" trick. This is a little faster!
02/03/2009 (9:33 pm)
Anything to save a little art pipeline time is good in my book. Thanks!I was doing the old "cut & paste, then edit the names" trick. This is a little faster!

Torque Owner TheGasMan
G.A.S. [+others]
cheers