if you use only the following in any material, it does the job:

Code:
effect=
        "
        technique vegetation
        {
                pass p0
                {
                        ZWriteEnable = True;
                        AlphaBlendEnable = False;
                        AlphaTestEnable = True;
                }
        }
        technique fallback{pass p0{}}
        ";



Free world editor for 3D Gamestudio: MapBuilder Editor