can you post the errors?

Fabrice
On Aug 30, 2009, at 1:04 PM, vkt wrote:


and my skin. get normalMap such like

////////////////////////////////////////////////////////////////////////////

public function get normalMap():Dot3BitmapMaterialF10
                {


                        var dot3:Dot3BitmapMaterialF10=new Dot3BitmapMaterialF10
(dot3Bitmap, dot3NormalMap, {manual:true});


                        //torsoNormalMaterial.shininess=100;
                        dot3.specular=0.2;
                        return dot3;

                }
////////////////
On 8月30日, 下午7时03分, vkt <[email protected]> wrote:
hi,all
I have a problem when I re set mesh.material=skin.normalMap;
the material won't work?
why?
here is my code piece.

  mesh.outline=null;
 mesh.material=skin.normalMap;//can work nice..

after view render compelete.
and I swich another type of material
////////////////////////////////////////////////////////////////////////////////////////////

mesh.outline=new WireframeMaterial("yellow");
mesh.material=new ColorMaterial(0,{alpha:.1});//can work nice..

////////////////////////////////////////////////////////////////////

after view render compelete.
and I reset it

mesh.outline=null;
mesh.material=skin.normalMap;//won't  work so bad...

///
and my  away3d verson is 3.4

anybody could tell me why?
thanks.

Reply via email to