Hi!
i create one big plane for my floor in the level, but it drops my fps from 60 to 30. What did i do wrong?
private function initPlaneGeometry():void {
floor = new Mesh(new PlaneGeometry(10000, 10000));
var planeTextureAsset:IAsset = AssetLibrary.getAsset(FilePaths.createFullTextureFilePath(FileNames.Hexagon_Tiling));
floor.material= new TextureMaterial(Cast.bitmapTexture(planeTextureAsset));
floor.material.repeat = true;
floor.geometry.scaleUV(4,4);
UVScaleOfPlane = new Point(38.4, 22.2);
floor.geometry.scaleUV(UVScaleOfPlane.x, UVScaleOfPlane.y);
floor.x=183;
floor.z=-117;
floor.y = -0.1;
floor.material.repeat=true;
floor.material.lightPicker = new StaticLightPicker([editorCamera.flashLight]);
view.scene.addChild(floor);
}