atm, bothSides only seams to work for SinglePassMaterials.
var testSingleMaterial:ColorMaterial = new ColorMaterial()
var testMultiMaterial:ColorMultiPassMaterial = new ColorMultiPassMaterial()
testSingleMaterial.bothSides=true;
testMultiMaterial.bothSides=true;
var testMesh:Mesh = new Mesh(new CylinderGeometry(50,50,100,16,1,false,false),testMultiMaterial);
scene.addChild(testMesh);
I see that the multipassMaterial.bothSides do work if it is reapplied at a later time (set bothSides=true on next frame instead of right after creating the material)
atm, bothSides only seams to work for SinglePassMaterials.
var testSingleMaterial:ColorMaterial = new ColorMaterial() var testMultiMaterial:ColorMultiPassMaterial = new ColorMultiPassMaterial() testSingleMaterial.bothSides=true; testMultiMaterial.bothSides=true; var testMesh:Mesh = new Mesh(new CylinderGeometry(50,50,100,16,1,false,false),testMultiMaterial); scene.addChild(testMesh);