mask text by jit.gl.text2d for soft appearance

cableman's icon

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.

any help would be wonderful

JOa

5063.softscroll.jpg
jpg
Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.