[Embed(source='../resources2/haimian.jpg')]
private var Texture:Class;
//平面加载材质
var texture:Texture3D = new Texture3D( new Texture().bitmapData );
var material:Shader3D = new Shader3D( "", null, false );
material.filters.push( new TextureFilter( texture ) );
material.filters.push( new AlphaMaskFilter( 0.5 ) );
material.twoSided = true; //两面都有材质
material5.filters[0].alpha = 0.5 //设置透明
material.build();
var plane:Plane = new Plane( "sourcePlane", 10, 10, 20, material );