I created many lines of horizontal scrolling text with jit.gl.text2d. blended over a movie.
now i want to use a mask to add an fade-in effect to text like on my attached image.
i tried to use a box with soft edges drawn in photoshop and blend it over the text but i was not successfull so far.
many ways to do this, depending on your specific needs.
easiest might be to overlay a videoplane, (or gl.gridshape) on top of your text, displaying a gradient matrix.
check out the @blend attribute of jit.gl.videoplane for blending options.
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.