Maya + normal map
by Mvm · in Artist Corner · 12/11/2008 (9:56 am) · 3 replies
I created a shape in maya and export this with DTS Exporter
and use this code for add normal map and specular
new Material( wall )
{
mapTo = "wall.png";
baseTex[0] = "wall";
bumpTex[0] = "wall_normal";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 256.0;
};
but this is not working
please help me
sorry for english
and use this code for add normal map and specular
new Material( wall )
{
mapTo = "wall.png";
baseTex[0] = "wall";
bumpTex[0] = "wall_normal";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 256.0;
};
but this is not working
please help me
sorry for english
#2
but this not working again
new Material( wall )
{
mapTo = "wall.png";
baseTex[0] = "wall.png";
bumpTex[0] = "wall_normal.png";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 256.0;
};
12/11/2008 (10:21 pm)
I added the .png extension to baseTex and bumpTexbut this not working again
new Material( wall )
{
mapTo = "wall.png";
baseTex[0] = "wall.png";
bumpTex[0] = "wall_normal.png";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 256.0;
};
#3
12/12/2008 (12:11 am)
Try mapTo = "wall";
Torque 3D Owner Apparatus