Hi everyone!! I’m new, so please forgive me if i’m posting in the wrong place.
It’s lame, but i’m having trouble with the skybox tutorial. When i try to apply the jpg’s to form the BitmapCubeTexture, i get an error saying that BitmapCubeTexture only accepts 1 argument. But I know you need 6!
Sorry, English is not my first language and i’m having trouble explaining myself. Take a look at the code, please.
var cubeTexture:BitmapCubeTexture = new BitmapCubeTexture(
Cast.bitmapData(EnvPosX), Cast.bitmapData(EnvNegX), Cast.bitmapData(EnvPosY),
Cast.bitmapData(EnvNegY), Cast.bitmapData(EnvPosZ), Cast.bitmapData(EnvNegZ)
);
I have no idea how to fix this, or whatever it is i am doing wrong. So i’d appreciate some help. Thank you