Forums > Jitter

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

Sep 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.

Sep 30 2013 | 8:58 am

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

Oct 01 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):

-- Pasted Max Patch, click to expand. --


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

Forums > Jitter