Answers.Body: <p>The easiest way would be to use the shapes as <a href="https://helpx.adobe.com/after-effects/using/alpha-channels-masks-mattes.html#main-pars_heading_14" rel="nofollow noreferrer">track mattes</a> for the video layers. </p>
  
  <p>Put the <em>Footage A</em> video layer directly beneath the <em>Shape A</em> layer and in the <strong>Modes</strong> column choose <em>Alpha Matte "Shape A"</em> from the <strong>Track Matte</strong> drop-down. Repeat for <em>Footage B</em> and <em>Shape B</em> and <em>Footage C</em> and <em>Shape C</em></p>
  
  <p><a href="https://i.sstatic.net/YrGpH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YrGpH.png" alt="enter image description here"></a></p>
  
  <p>What track mattes do is use the alpha (transparency) or luma (brightness) of a layer to set the transparency of the layer directly below it. The <em>Alpha Inverted</em> option reverses wht is visible or invisible.</p>
  
  <p><strong>There's always at least two ways to do anything in After Effects</strong>, so I should just mention that other ways to do the same thing include copying the shape paths and pasting as masks on the video layers, or using the silhouette alpha mode on the shape layers and pre-comping. All methods have advantages and disadvantages. Read the page <a href="https://helpx.adobe.com/after-effects/using/alpha-channels-masks-mattes.html#main-pars_heading_14" rel="nofollow noreferrer">here</a> for more.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-13T12:34:24.560Z
Answers.LastActivityDate: 2017-10-13T22:43:30.120Z
Answers.LastEditDate: 2017-10-13T22:43:30.120Z
Answers.UserDisplayName: stib
Body: <p>I have a basic After Effects question, but I don't know the right words for it to find what I need.</p>
  
  <p>I have a composition that consists of three side-by-side videos. But, for now, it's just three layers on top of eachother. I created three skewed rectangles (Shapes). I want each of the layers to be shown on top ONLY of one of the shape layers. So, I want footage A to be shown on top of shape A, footage B on shape B, footage C on shape C. There is also some whitespace, between the shapes, so the background video is shown as well.</p>
  
  <p>How would I accomplish this?</p>
  
Tags: <after-effects>
Title: Side by side videos in shapes
UserDisplayName: Martin
ThreadText: # Side by side videos in shapes
  
  (Asked by: username_0 on 2017-10-13)
  
  I have a basic After Effects question, but I don't know the right words for it to find what I need.
  
  I have a composition that consists of three side-by-side videos. But, for now, it's just three layers on top of eachother. I created three skewed rectangles (Shapes). I want each of the layers to be shown on top ONLY of one of the shape layers. So, I want footage A to be shown on top of shape A, footage B on shape B, footage C on shape C. There is also some whitespace, between the shapes, so the background video is shown as well.
  
  How would I accomplish this?
  
  **Tags:** after-effects
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-10-13. Score: 1 | Accepted answer
  
  The easiest way would be to use the shapes as [track mattes](https://helpx.adobe.com/after-effects/using/alpha-channels-masks-mattes.html#main-pars_heading_14) for the video layers.
  
  Put the *Footage A* video layer directly beneath the *Shape A* layer and in the **Modes** column choose *Alpha Matte "Shape A"* from the **Track Matte** drop-down. Repeat for *Footage B* and *Shape B* and *Footage C* and *Shape C*
  
  [![enter image description here](https://i.sstatic.net/YrGpH.png)](https://i.sstatic.net/YrGpH.png)
  
  What track mattes do is use the alpha (transparency) or luma (brightness) of a layer to set the transparency of the layer directly below it. The *Alpha Inverted* option reverses wht is visible or invisible.
  
  **There's always at least two ways to do anything in After Effects**, so I should just mention that other ways to do the same thing include copying the shape paths and pasting as masks on the video layers, or using the silhouette alpha mode on the shape layers and pre-comping. All methods have advantages and disadvantages. Read the page [here](https://helpx.adobe.com/after-effects/using/alpha-channels-masks-mattes.html#main-pars_heading_14) for more.
  
  
  ---
  
  