Hi,

for some reason my texture is not repeating itself on the object but
stretches along the whole plane.
Any ideas what went wrong?

Code:
private function _buildScene():void {
        var mat:BitmapMaterial = new BitmapMaterial(Cast.bitmap
("texture_grass"),{repeat:true});
        var plane:Plane = new Plane({material:mat , width:3000, height:3000,
segmentsH:12, segmentsW:12} );
        scene.addChild(plane);
}

Thanks,
Silke

Reply via email to