Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Spawn black rectangle behind text (subtitle)

  • Michael Szalapski

    December 14, 2011 at 3:33 pm

    That feature isn’t built in to AE, but you can fake it:

    Duplicate your text layer.
    Tie the duplicate’s source text to the original with the pick whip.
    Apply the Levels effect to the duplicate.
    Go to the Levels channel drop down and choose alpha.
    Crank it way up.
    Apply Generate>Fill.
    Choose black as the fill color.

    That should work. My AE machine’s in the middle of a render or I’d test this, but that sounds like the recipe I used when I had to do that. Now, you have to be sure the font, formatting, etc. is the way you want it before you do this. The only thing linked between the layers is the source text – not any formatting.

    – The Great Szalam
    (The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)

    No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

  • Kevin Camp

    December 14, 2011 at 4:06 pm

    michael’s method may work, but if you just want a solid bar/plate behind the text that changes size based on the text length, then this is the simplest recipe that i’ve found:

    1. add set channels to text layer and change ‘set alpha to source:’ to ‘full’
    2. add the fill effect
    3. add cc composite

    if you need to expand the rectangle around the text, add fast blur before the set channels effect and increase blur as needed.

    to change the opacity of the bar/plate you can adjust the opacity of the fill effect and uncheck the ‘rgb only’ option in cc composite.

    this method will add the bar/plate to the whole text field, if you need to add it to just a selection of text, like to highlight a word in a sentence, then you’d want to use a separate layer and create a mask to reveal just the portion around the text that you want to ‘highlight’.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Michael Szalapski

    December 14, 2011 at 7:51 pm

    I like Kevin’s method better. I always forget about CC Composite!

    – The Great Szalam
    (The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)

    No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

  • Kevin Camp

    December 14, 2011 at 9:42 pm

    of course as soon as you do it with cc composite, somebody will ask ‘could we put a drop shadow on that text?’ and then you’ll be splitting it up onto two layers… 😉

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Joel Arvidsson

    December 16, 2011 at 7:28 am

    Thanks Kevin and Michael! I did use Kevins suggestion and it worked perfect!

    joelarvidsson@gmail.com

  • Joel Arvidsson

    December 16, 2011 at 7:58 am

    The only little setback is when you have two lines of text the black bar will be the full “textbox” (wich is always rectangular). So unless the second line of text is the same length ass the first you get a longer blackbar.

    This I can live with or fix using two layers and mask away. I can also try not to use two line of text at the same time.

    Cheers!

    joelarvidsson@gmail.com

  • Joel Arvidsson

    December 16, 2011 at 8:09 am

    I think one solution could be if you would have a font with all characters is just a solid square. Then perhaps you could choose this font and not use the full textbox channel but instead the alpha of the text wich in this case would just be solid squares.

    joelarvidsson@gmail.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy