material depth render error

Software: Away3D 4.x

rontian, Newbie
Posted: 26 December 2012 09:25 AM   Total Posts: 6

I have two plane and use TextureMaterial,set alphaBlending=true ,
the back of the panel material will be in the front.
Could you tell me how to solve the problem of material depth render?
Thanks!

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 26 December 2012 09:42 AM   Total Posts: 166   [ # 1 ]

You have to set different position for each two planes.
If the depth axis is z,

planes:ObjectContainer3D = new ObjectContainer3D();
planes.addChild(plane00);
planes.addChild(plane01);
planes.getChildAt(0).0;
planes.getChildAt(1).0.001

 

   
   
‹‹ SpotLight

X

Away3D Forum

Member Login

Username

Password

Remember_me



X