The key to understanding overlays, masks, transparency, and compositing is to understand the parent/child relationship between tracks. In general terms, the parent track is the highest track in a group of tracks (often only two) and the behavior of the child tracks (i.e. how they are composited together) is determined by the parent track.

  • Click the Make Compositing Child button Vegas Pro b makechild Compositing and Masks on a parent track to make a child track.

  • Click the Make Compositing Parent button Vegas Pro b makeparent Compositing and Masks on a child track to make a parent track.

In this first example, there are three tracks. Track one contains a mask. The circular region in the mask is transparent, so the second track shows through. The third track is also a child, so it is displayed behind track two.

Vegas Pro masklayer ie Compositing and Masks

In this example, the third track is also a parent, so it is displayed behind the composite of tracks one and two.

Vegas Pro masklayer ie2 Compositing and Masks

You can also produce complex compositing by creating nested parent/child groups with compositing parents and children at various levels.

When you have multiple levels of parent and child tracks, clicking the Make Compositing Child button Vegas Pro b makechild Compositing and Masks moves the track in one level and clicking the Make Compositing Parent button Vegas Pro b makeparent Compositing and Masks moves out one level.

Hold Ctrl while clicking the Make Compositing Child button Vegas Pro b makechild Compositing and Masks to move a track and all its child tracks in one level.

Vegas Pro deepnestedcomposite Compositing and Masks

For examples of how parent/child track relationships affect 3D compositing, click here.

The Compositing Mode button Vegas Pro b compositingmode Compositing and Masks determines how the transparency in a video track is generated. Since lower tracks show through higher tracks, it is the compositing mode of the higher track that determines how much of the lower track shows though. The compositing mode of the lowest video track adjusts its transparency against the background.

The mode can be selected by clicking the Compositing Mode button and choosing a mode from the menu.

The following examples demonstrate how each of the compositing modes would affect two simple tracks. Track one is a generated media event with a transparent edge, and track two is a DV clip.

Vegas Pro compositeexample Compositing and Masks

Mode

Description

Example

Multiply (Mask)

 

Merges the colors of the tracks.

Vegas Pro compositing multiply Compositing and Masks

Source Alpha

 

Uses the alpha channel to determine transparency.

Vegas Pro note Compositing and MasksThe compositing mode is based on the alpha channel characteristics of an event or media file. If no alpha channel is present, the Source Alpha mode has no effect.

Vegas Pro compositing sourcealpha Compositing and Masks

Add

Combines the color values in the composite group.

Vegas Pro compositing add Compositing and Masks

Subtract

Subtracts the overlay color values from the background.

Vegas Pro compositing subtract Compositing and Masks

Cut

Cuts out the overlay color values from the background.

Vegas Pro compositing cut Compositing and Masks

Screen

Multiplies the inverse of the overlay color values with the background color values. This makes overlay colors weaker and less present and results in a lighter video image. The opposite of this mode is Multiply.

Vegas Pro compositing screen Compositing and Masks

Overlay

Heightens contrast by using Multiply mode on darker colors and Screen mode on lighter colors.

Vegas Pro compositing overlay Compositing and Masks

Hard Light

Adds overlay colors as if the overlay were lit by a bright, focused spotlight.

Vegas Pro compositing hardlight Compositing and Masks

Dodge

Brightens the background based on the overlay color values.

Vegas Pro compositing dodge Compositing and Masks

Burn

Darkens the background based on the overlay color values.

Vegas Pro compositing burn Compositing and Masks

Darken

Compares the overlay and background pixel by pixel and selects the darker color value for each pixel.

Vegas Pro compositing darken Compositing and Masks

Lighten

Compares the overlay and background pixel by pixel and selects the lighter color value for each pixel.

Vegas Pro compositing lighten Compositing and Masks

Difference

Compares the overlay and background pixel by pixel and subtracts the darker color value from the lighter color to generate a new color value.

Vegas Pro compositing difference Compositing and Masks

Difference Squared

Remaps color values along a parabolic curve. The color values of the layers in the composite group are subtracted, and then the subtracted values are squared.

The resulting image will have less extreme changes in color values as the colors approach black (RGB 0,0,0) and more extreme changes in color values as colors approach white (RGB 255,255,255).

Vegas Pro compositing differencesquar Compositing and Masks

Drag the Level slider in a video track to control the transparency or blending of each track. Left is 100% transparent and right is 100% opaque. You can also double-click the percent to enter a specific numeric percentage.

When you click the Parent Composite Mode or Compositing Mode Vegas Pro b compositingmode Compositing and Masks button and choose Custom from the menu, you can use plug-ins to customize compositing.

The included Displacement Map, Height Map, and Bump Map plug-ins can create interesting lens, mirror, water, fire, and other light-bending effects.

Plug-In

Description

Displacement Map

Uses the parent image as a guide to offset the pixels in the composited child tracks along the horizontal and vertical axes.

The X and Y offsets are independently encoded in the image color channels.

Height Map

Uses the parent image as a guide to make the pixels in the composited child tracks appear closer to or farther away from the viewer.

The gradient of the image in the parent track is used to determine the amount of offset for the image displayed at that location, in much the same way light bends through a lens.

Bump Map

Uses the parent image as a guide to add texture and lighting to the composited child tracks.

The texture of the bump map is applied to the composited child tracks: light sections of the map represent high areas, and dark sections represent low areas.

  1. If you have not already done so, place and position the image or video you want to use as a mask on the top-level track in your project.

  2. Place video files on the tracks below the mask.

  3. Ensure your mask is a compositing parent the tracks below are child tracks.

  4. Click the Compositing Mode button Vegas Pro b compositingmode Compositing and Masks on the mask track and choose Multiply (Mask) from the menu.

    If your mask image is grayscale, you’re done. If not, continue with Step 5.

  5. Add the Mask Generator plug-in as a track effect on the mask track and adjust the controls as needed to set transparency in the mask track.

Vegas Pro tip Compositing and MasksYou can also use the Event Pan/Crop dialog to create event-level Bézier masks. 

Vegas Pro masksolid Compositing and Masks

Solid-color mask

 

Vegas Pro gradmask Compositing and Masks

Gradient Mask

 

Compositing and Masks

 

Compositing is the process of mixing video tracks to create a single layered output.

You can use compositing in conjunction with masks to cover portions of video or to limit the effects of a filter. Masks are frequently based on dark versus light areas, specific colors, or an alpha channel.

Click the Parent Composite Mode or Compositing Mode button Vegas Pro b compositingmode Compositing and Masks in the track header and choose a mode from the menu to determine how the transparency in a video track is generated. Since lower tracks show through higher tracks, it is the compositing mode of the higher track that determines how much of the lower track shows though. The compositing mode of the lowest video track adjusts its transparency against the background.

Vegas Pro parentcompositingmode Compositing and Masks

Vegas Pro compositingmode2 Compositing and Masks

To change the opacity/transparency of all events on the track, drag the Level slider in the track header or use a composite-level envelope adjust the opacity/transparency over time.

To change the opacity/transparency of a single event, you can use an event envelope.

Vegas Pro tip Compositing and MasksThe compositing model in 6.0 and later differs significantly from the 4.0 model. To reproduce the 4.0 parent/child masking behavior, set the compositing mode of the parent track to Multiply, and then apply the Mask Generator plug-in as a track effect on the parent track.


What do you want to do?

Vegas Pro arrowdn Compositing and Masks Learn more about parent and child tracks

Vegas Pro arrowdn Compositing and Masks Learn more about compositing modes and transparency

Vegas Pro arrowdn Compositing and Masks Use a 2-to-1 transform plug-in for custom compositing

Vegas Pro arrowdn Compositing and Masks Create a mask

 

Vegas Pro btnshowall Compositing and Masks

Compositing and Masks