Sorry,I selected the wrong shader!I solved the problem with a 3.texture,witch is monochrom.By toggle to monochrom-modus, I change skin0 to skin2.That works fine!
Thats the monochrom:
texture entSkin1;
sampler postTex = sampler_state
{
texture = (entSkin1);
MinFilter = linear;
MagFilter = linear;
MipFilter = linear;
AddressU = Clamp;
AddressV = Clamp;
};
float4 Monochrom_PS(float2 tex : TEXCOORD0) : COLOR
{
float4 Color = tex2D(postTex,tex);
Color.rgb = (Color.r+Color.g+Color.b)/3.0f;
return Color;
}
technique tech_00
{
pass pass_00
{
VertexShader = null;
PixelShader = compile ps_2_0 Monochrom_PS();
}
}
technique tech_01
{
pass pass_00
{
Texture[0] = <entSkin1>;
}
}