Code:
material at3{
event = mtl_at3_texture;
ambient_blue = 150;
ambient_green = 80;
ambient_red = 80;
skin2=atmo_bmp;
albedo = 20;
effect="
texture entSkin1; // die Entity Skin
texture mtlSkin2;
matrix matMtl;
technique test
{
pass p0
{
//CullMode=5;
EdgeAntialias=TRUE ;
Texture[0] = <entSkin1>;
Texture[1] = <mtlSkin2>;
ColorArg1[0] = Texture; // stage 0 = skin texture
ColorOp[0] = SelectArg1;
ColorArg2[0] = Diffuse; // von der Beleuchtung moduliert
ALPHAARG1[0] = TEXTURE;
AlphaOp[0]=SelectArg1;
ColorArg1[1] = Texture; // stage 0 = skin texture
ColorOp[1] = Modulate;
ColorArg2[1] = Current;
ALPHAARG1[1] = Texture;
AlphaOp[1]=SelectArg1;
AlphaArg2[1]=Current;
TextureTransform[1]=<matMtl>;
TextureTransformFlags[1] = Count2;
}
}
";
}
hier findest du auch noch was...