Torque Shader Engine DocumentationCVS Revision Label 0.1.x |
Example 3.1.
datablock Material(OrcSkin)
{
baseTex[0] = "demo/data/shapes/spaceOrc/orc_ID1_skin";
bumpTex[0] = "demo/data/shapes/spaceOrc/orc_ID1_skin_bump";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 4.0;
};
datablock Material(GunBlade)
{
// STAGE 0
//----------------------------
baseTex[0] = "demo/data/shapes/spaceOrc/gun_ID4_blades";
bumpTex[0] = "demo/data/shapes/spaceOrc/gun_ID4_blades_bump";
// STAGE 1 (second rendering pass)
//----------------------------
glow[1] = true;
emissive[1] = true;
pixelSpecular[1] = true;
specular[1] = "0.5 0.5 0.5 0.5";
specularPower[1] = 32.0;
cubemap = WChrome;
};