Is it somehow possible, to write shader that works on the very top of the Stage3D and provides pixel information for the output like normal pixelbender, only with "pixel" depth? (so r,g,b,a and depth)
It would enable writing simple shaders for things like depth blur, bokeh etc...
Is this somehow possible now?
We are limited to 4 channel images so you wouldn't be able to get r,g,b,a,depth into a single texture. In general though there's nothing to stop you writinga pixel bender 2D filter that then gets used as input to later stages.
I have also discovered I can do this with a pixel bender 3d fragment shader, and I think this is the correct way to do this. Thanks!
I'm also interested in processing bitmap data with the gpu. Would you mind sharing your solution?