Papervision3D- Creating a Composite Material
February 11th, 2008 . Posted by brad in Flash, Papervision3DA composite material allows you to layer multiple simple materials in a new “combined” material:
var wireMat:WireframeMaterial = new WireframeMaterial(0xCCCCFF); var colorMat:ColorMaterial = new ColorMaterial(0x00FFCC); var compMat:CompositeMaterial = new CompositeMaterial(); compMat.addMaterial(wireMat); compMat.addMaterial(colorMat);
