Activity › Forums › Adobe After Effects › Spawn black rectangle behind text (subtitle)
-
Spawn black rectangle behind text (subtitle)
Posted by Joel Arvidsson on December 14, 2011 at 11:44 amHi I wonder if its possible to automatic show a black bar behind the text.
Im thinking like in word etc you have one option that is like a mark pen. Is it any similar effect in AE?Joel Arvidsson replied 14 years, 4 months ago 3 Members · 7 Replies -
7 Replies
-
Michael Szalapski
December 14, 2011 at 3:33 pmThat 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 pmmichael’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:
- add set channels to text layer and change ‘set alpha to source:’ to ‘full’
- add the fill effect
- 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 pmI 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 pmof 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 amThanks Kevin and Michael! I did use Kevins suggestion and it worked perfect!
-
Joel Arvidsson
December 16, 2011 at 7:58 amThe 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!
-
Joel Arvidsson
December 16, 2011 at 8:09 amI 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.
Reply to this Discussion! Login or Sign Up