op + or alphablend?
redoing some old stuff of mine.
i am using jit.op @op + in a serial array to mix still images against each other.
but the 8 bit resolution of the + operator becomes quite inaccurate very soon (say like... layer 8 is already performing + 12% instead of + 12.5%)
can i get op + to work in 32 bit somehow? or would you rather do that using the alphablend object?
(i do not need the alpha layer but have it included one everywhere, so you could just mix 2 of the "char 4" images using [alphablend] without the need to artificially create any alpha layer content)
no, sorry i am using xfade, not alphablend. xfade supports any type.
Hi Roman,
I'd suggest to use jit.gen, because inside it the operations are floating point
that way of performing addition with matrixes looks intriguing.
but can you explain why the first bang only gives me paprika?
An unfortunate side effect of adapt mode in matrix ops. Set adapt 0 to workaround this if needed: