texture tex0;


technique t0
{
pass p0 
{	
       Lighting = true;
	SpecularEnable = false;
	fogenable=false;
		
		TexCoordIndex[0] = 0;
		Texture[0] = <tex0>;        
		ColorOp[0] = Modulate;
        ColorOp[0] = Modulate;
        ColorArg1[0] = Texture;
        ColorArg2[0] = Diffuse;
        AlphaOp[0] = SelectArg1;
        AlphaArg1[0] = Texture;
        AlphaArg2[0] = Diffuse;
	MipFilter[0] = none;
	MinFilter[0] = LINEAR;	
	MagFilter[0] = LINEAR;	

		AlphaBlendEnable = true;
		BlendOp = SUBTRACT;
		DestBlend = ONE;
		SrcBlend = ONE;
	AlphaTestEnable = true;
//	AlphaRef = 0x00000000;
	AlphaFunc = Greater;

//		ZEnable = false;   
//		ZWriteEnable = false;
}
/*
   pass p1
  {	
		TextureFactor = 0xFFFFFFFF;
		TexCoordIndex[0] = 0;
		Texture[0] = <tex0>;        
		ColorOp[0] = SelectArg1;
		ColorArg1[0] = TFACTOR;
		AlphaArg1[0] = TEXTURE;
		AlphaOp[0] = SelectArg1;		
		AlphaOp[1] = disable;		
		Texture[1] = <tex1>;   
		TexCoordIndex[1] = 1; 
		ColorOp[1] = BLENDCURRENTALPHA;
//		ZEnable = false;
	
		AlphaBlendEnable = true;
		BlendOp = Add;
		DestBlend = SRCCOLOR;
		SrcBlend = ZERO;

//		ZWriteEnable = false;
 }
 */

}
