Hi - I am probably missing something obvious, but I cannot seem to change the material of an object created with AS3Exporter.
For example, I have Thing.as that was created with AS3Exporter. If I use this code: var wsMat:WhiteShadingBitmapMaterial = new WhiteShadingBitmapMaterial (new BitmapData(1,1,false, 0x00FF00)); var myThing:Thing = new Thing(); (myThing.meshes[0] as Mesh).material = wsMat; view.scene.addChild( myThing ); then myThing draws but the material is whatever is defined within Thing.as (such as WhiteShadingBitmapMaterial). I am using DirectionalLight3D. Another problem (maybe related): if I use PhongBitMapMaterial within Thing.as, it renders as all solid uniform color, not Phong shaded. Any suggestions? Thanks!
