Why not use dot3 material?
Fabrice
On Apr 19, 2010, at 9:29 PM, Dmitry Markman wrote:
> Hi
> I have a problem with earth texture
> currently I have the following rendering
>
> <PastedGraphic-1.png>
>
>
> is it possible to get smooth texture?
>
> here is the code for creating earth:
>
> var earthMat:WhiteShadingBitmapMaterial = new
> WhiteShadingBitmapMaterial(BitmapAsset(new earthClass()).bitmapData);
> earthMat.ambient_brightness = 2;
> earthMat.diffuse_brightness = 8; //for Jupiter 4;
> earthMat.specular_brightness = 0;
> earthMat.smooth = true;
> _earth = new Sphere( { material:earthMat,
> radius:solar.earth.radius,
> segmentsW:32, segmentsH:32,
> name:"earth",
> y:0,
> x:0,
> z:0 } );
>
> thanks in advance
>
> Dmitry Markman
>
--
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en