Re: alpha mask with and javascript

Forums > Javascript > alpha mask with and javascript
Jan 16 2013 | 5:56 pm

hi roland.
it’s a little tricky, but entirely possible.
the trick is to use the "activeinput" attribute to tell the slab which input will receive the textures or matrices.
after that, you simply use the "jit_matrix" or "jit_gl_texture" messages followed by the matrix or texture name.

i’ve attached a js and max patch to demonstrate.


Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required