0

In a Shape Layer I have managed to build myself the following shape, which is basically a circle and a rectangle:

after effects

I wish to fill that shape with folk-attern.png (repeating) so that it covers the whole thing. Is that doable?

I can't see an option that would allow me to fill the shape with an image!

1

Shape layers don't have the ability to use a bitmapped fill. What you need to do is use the shape layer as a matte for the fill pattern.

To make a repeating pattern from your image, bring it into the comp as an image layer. Now apply the CC RepeTile effect (it's an included effect with AE in the Stylize folder).

enter image description here

Increase the numbers in the expand right, expand lef, expand up, and expand down sliders until the pattern fills the space you want it to occupy. You don't have to worry if the original layer is too small, this effect will increase the bounds of the layer beyond its original size.

Make sure the image layer is below your shape layer and set its matte to alpha matte "Shape Layer 1" (or whatever your shape layer is called). If you can't see the matte column hit f4.

enter image description here

If you want the pattern to transform with the shape layer, set it as the parent of the fill layer (or vice versa), so that when you move, scale, or rotate one, the other will follow.

| improve this answer | |
  • Thank you very much, that worked! – J86 May 18 at 14:49
  • is there a way to change the opacity of the pattern? – J86 May 18 at 14:57
  • Use the opacity control on the opacity layer. Or the matte layer for that matter. Hit 't' to bring it up. – stib May 19 at 6:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.