Samuel wrote:
hi all
i want use a material for back and front of plane. thank for your help
set the back property of the plane material to be the material that you want ie:

var frontMaterial:ColorMaterial = new ColorMaterial(0x000000);
var backMaterial:ColorMaterial = new ColorMaterial(0xFFFFFF);

var plane:Plane = new Plane();
plane.width = plane.height = 200;
plane.material = frontMaterial;
plane.back = backMaterial;

think you might also need to set:

plane.bothsides = true;

have a go!

hth

PK

Reply via email to