i think it's layer z order problem not alpha problem (eg.it's already alpha but you didn't notice that), can you add some background at bottom most to test this plz? i want to see it's not alpha problem 1st, then 2nd thing is if you said it's layer, why it's got z-order btw? you manually swap it? you better try .canvas for this then
On 1 February 2011 23:40, John Brookes <[email protected]> wrote: > Theres something wrong with the Basic Renderer and layers. > > Have a look at this, its using basicRenderer, dont move camera yet. > the camera.z is -900 > > > http://www.shrewballooba.co.uk/blog/wp-content/uploads/2011/02/away3DLiteExamples.swf > > Although alpha is applied to the wirecolor plane.layer none shows. > > Just drag the camera so it orbits about y without going above +-90. > Still no alpha. > > Now drag the camera so it orbits about y, all of a sudden alpha begins to > work. > > Been trying to find where/why this is happening. Only thing I've noticed is > line 235 (// draw to layer) of basic renderer the > _graphicsDatas[_material_graphicsData] is undefined until you rotate more > than 180 (when the camera.z >0). Then it fills with the sprite. > > And there is the problem. > > If you start with a camera.z <0 > alpha wont update until the camera.z goes >0 > > If you start with camera.z >0 > it works straight away. > > > And if you use fast renderer it works no problem. > -- Regards ----------------------------------------------------------- Todsaporn Banjerdkit, katopz, http://sleepydesign.com Away3DLite and JigLibFlash Developer Team
