/ Published in: ActionScript 3
![](/img/icon_sav.png?v3)
Quick & easy way to add multiple materials to a single object.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var wireMat:WireframeMaterial = new WireframeMaterial(0xCCCCFF); var colorMat:ColorMaterial = new ColorMaterial(0x00FFCC); var compMat:CompositeMaterial = new CompositeMaterial(); compMat.addMaterial(wireMat); compMat.addMaterial(colorMat);
URL: http://www.destroyyourcomputer.com
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)