Alright, so I’m using a 256x512 pixel texture but when I place it on my object, it spreads out the image and looks really ugly (see image below).
//mapheight = 80
//mapwidth = 80
floor.geometry = new CubeGeometry();
floor.material = new TextureMaterial(new BitmapTexture(getFloorTexture()));
floor.scaleX = mapWidth;
floor.scaleZ = mapHeight;
floor.scaleY = .1;
It probably has something to do with the scaling. If so, how can I fix this?
Also, away3d only takes about half the texture image. :/