Hello,
i try to assign a texture for each face of cube but but the texture doesn’t appear
var bmd1:BitmapData = new Mr1().bitmapData;
var bmd2:BitmapData = new Mr2().bitmapData;
var bmd3:BitmapData = new Mr3().bitmapData;
var bmd4:BitmapData = new Mr4().bitmapData;
var bmd5:BitmapData = new Mr5().bitmapData;
var bmd6:BitmapData = new Mr5().bitmapData;
var cubeMap:CubeMap = new CubeMap(bmd4, bmd2, bmd5, bmd5, bmd1, bmd3);
var mat:SkyBoxMaterial = new SkyBoxMaterial(cubeMap);
_cube = new Cube(mat, 80, 70, 70, 5,5, 5, false);
addChild(_cube);
Thanks