Forums > Jitter

is there another version of jit.alphablend that preserves transparency?

September 29, 2013 | 11:55 am

The way jit.alphablend seems to work is that any cells that were fully transparent on input are converted to fully opaque black on output, i.e 255 0 0 0.

I would prefer if the full transparency of the cell was preserved, e.g. 0 0 0 0.

This would mean I could take the output and use it again for alphablending further down the line.

I’m having a go at writing my own abstraction to do this, but any advice, or links to an object that may do this already, would be appreciated.


September 30, 2013 | 8:58 am

This is beginning to drive me a little crazy – any help much appreciated!


October 1, 2013 | 1:42 pm

just repack in the alpha plane with the jit.alphablend output (or better yet, use jit.pix and customize however you like):

<code>

– Pasted Max Patch, click to expand. –

</code>


Viewing 3 posts - 1 through 3 (of 3 total)