/ Published in: ActionScript 3
                    
                                        
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
 Subscribe to comments
                    Subscribe to comments
                
                