// Sample effect file

texture tex0;
texture tex1;

technique tec0
{
    pass p0
    {
//!        Lighting = true;
	SpecularEnable = true;

	TexCoordIndex[0] = 0;
	Texture[0] = <tex0>;        
        ColorOp[0] = Modulate;
 //       AlphaOp[0] = SelectArg1;

       // Set up texture stage 0
        Texture[1] = <tex1>; // Use the texture parameter defined above       
        ColorOp[1] = Add;
        AlphaOp[1] = SelectArg2;

        Texcoordindex[1] = CAMERASPACEREFLECTIONVECTOR;
        Texturetransformflags[1] = count2;
        
        // Disable texture stage 1
        ColorOp[2] = Disable;
        AlphaOp[2] = Disable;

//!	ZWriteEnable = true;

//!	AlphaBlendEnable = true;
//!	BlendOp = Add;
	DestBlend = INVSRCALPHA;
//!	SrcBlend = SRCALPHA;
	
	FogEnable = true;
//	FogColor = 0xFF7D877D;
	FogColor = 0xFFDCDCDC;
	FogVertexMode = LINEAR;
	FogStart = 40;
	FogEnd = 150;
    }
}
