Search code examples
actionscript-3pngtransparentpapervision3d

Papervision rendering PNGs with transparency thats inside a movieclip


I'm an actionscript dude - I'm working on a papervision game.

I have an asset of which is 127 pngs in a sequence for an animation.

I can happily project this onto my papervision plane. Problem is, there is no transparency. I Can't use a BitmapFileMaterial as I have many pngs -

can anyone suggest how to do this.

Very very grateful -


Solution

  • Reading over google - There seems to be a bug -

    private var movieMat:MovieMaterial = new MovieMaterial(textureMC, true, true)
    

    set to

    private var movieMat:MovieMaterial = new MovieMaterial(textureMC, false, true)
    

    and later setting

    movieMat.movieTransparent = true;
    

    seems to work.


    Uber thanks for your help -pointed me in the right direction.