// Sample effect file

texture tex0;

technique tec0
{
    pass p0
    {
        // Set up reasonable material defaults
        MaterialAmbient = {0.8, 0.8, 0.8, 1.0}; 
        MaterialDiffuse = {1.0, 1.0, 1.0, 1.0}; 
        MaterialSpecular = {0.0, 0.0, 0.0, 1.0}; 
        MaterialPower = 40.0f;

	DiffuseMaterialSource = material;	
	Ambient = {1.0, 1.0, 1.0, 1.0}; 
        
	// Turn lighting on and use light 0
//!        Lighting = true;
//!	SpecularEnable = false;

//!	TexCoordIndex[0] = 0;
	Texture[0] = <tex0>;        
//        ColorOp[0] = SelectArg1;
//        ColorArg1[0] = Texture;
//        ColorArg2[0] = Diffuse;
//        AlphaOp[0] = SelectArg1;
//        AlphaArg1[0] = Texture;
//        AlphaArg2[0] = Diffuse;

//!	AddressU[0] = wrap;
//!        AddressV[0] = wrap;
 
	ColorOp[1] = SelectArg1;
	AlphaOp[1] = disable;

//!	ZWriteEnable = false;

//!	AlphaBlendEnable = true;
//!	BlendOp = Add;
	DestBlend = INVSRCALPHA;
//!	SrcBlend = SRCALPHA;

//!	CullMode = CCW;
    }
}
