Multi-line text and cornerpin

Belquer's icon

Hi guys! I'm working on a patch that we need to do a projection mapping with text into a object. The multi-line part is ok, and we are using one of the excellent IMI patches to handle that. We are having two problems: when I capture the text with gl.node to output it to a cornerpin, it doesn't stop drawing the text in the background AND we can only see the last line of the text. I'm assuming one line is drawn on the top of the other, so that's why we can't see the previous... but how to fix this? I've searched and searched. Thank you for your help! The patch is attached.

multitine-twitter.maxpat
Max Patch