Migrating to the latest version of Away3d, and running into a couple of problems…
Tried this:
private function init_defaultCaseMat():void
{
var blankBMP:BitmapData = new BitmapData (64,64,true,0x101010),
defaultCaseMat = new BitmapCubeTexture (blankBMP, blankBMP, blankBMP, blankBMP, blankBMP, blankBMP);
}
Okay, so I’ve just realised while typing this that BitmapCubeTexture is a texture and not a material.. How do I assign the texture I’ve created about to a material?