Store the rendered result
hello.
i'm wondering if there way take reuslting image, after shader done it, , store bitmap.
ave application have bunch if images(bitmaps) put on scene on top of each other. apply shader on them blendshader. final result nice blend of pictures. works fine if use 10-20 pictures. if blend 200 pictures, heavy preocess. best if could, after placed let's 10 pictures on stage, store result in bitmap. when wan't blend picture 21-40 place bitmap "created" first cointains alll previous blends.
i guess shader don't alter bitmapdata , affect drawing?
so i'm basicly wondering if it's possible.
//sectoid01
you can use shader job have target bitmap destination cache.
http://help.adobe.com/en_us/as3lcr/flash_10.0/flash/display/shaderjob.html
you might have own blending in case though. there might trickier way bits out of display object, using bitmapdata property through the ibitmapdrawable interface, wouldn't let grab data middle of stack. think you'd need own blending want.
More discussions in Pixel Bender
adobe
Comments
Post a Comment