hi ,

I use the following and fine with overlay too:

Code:
technique animTree
{
	pass 
		{
			ZWriteEnable 		= True;		
			AlphaTestEnable 	= True;
		   AlphaBlendEnable 	= False;		   
			VertexShader = compile vs_2_0 animTree_VS(); 
		}
}



Free world editor for 3D Gamestudio: MapBuilder Editor