Hi!
If you need a dot3 shader, try this:
is a DX9 shader!
code:
_______________________________________________________________________¥
Material dot3
{
effect
"
matrix matWorldViewProj;
matrix matWorld;
texture entSkin1;
texture entSkin2;
vector vecLight;
technique dot3map
{
pass p0
{
Texture[0] = <entSkin2>;
Texture[1] = <entSkin1>;
TextureFactor = 0xFFFFFFFF;
COLOROP[0] = DotProduct3;
COLORARG1[0] = Texture;
COLORARG2[0] = TFactor;
TexCoordIndex[0] = 1;
COLOROP[1] = Modulate;
COLORARG1[1] = Texture;
COLORARG2[1] = Current;
TexCoordIndex[1] = 0;
magFilter[2]=Linear;
minFilter[2]=Linear;
mipFilter[2]=Linear;
COLOROP[2] = Modulate;
COLORARG1[2] = Texture;
COLORARG2[2] = Current;
TexCoordIndex[2] = 1;
}
}
";
}
action bumpas
{
my.material = dot3;
wait(1);
}
Greetings
salva.
