//shader
var shader:Shader3D = new Shader3D();
shader.filters.push( new TextureFilter( new Texture3D( "../resources/tex6.jpg" ) ) ); //贴图
shader.filters.push( new NormalMapFilter( new Texture3D( "../resources/images.jpg" ) ) ); //纹理凹凸层
//BlendMode.MULTIPLY 混合图层样式:正片叠底 反射图片
shader.filters.push(new EnvironmentFilter(new Texture3D("../resources/reflections.jpg"), BlendMode.MULTIPLY,1.5));
shader.build();
//
shader.filters[1].repeatX = 10;
shader.filters[1].repeatY = 10;
cube = new Cube("cube", 50, 50, 50, 10,shader);
cube.parent = scene;