트랙 매트

Track matte

한 레이어의 밝기(루마)나 투명도(알파)를 마스크로 써서 다른 레이어가 그 모양대로만 보이게 하는 합성 기법. 텍스트 안에 영상이 흐르는 연출의 원리입니다.

다른 이름: Luma matteAlpha matteMatte layer
···
html
<div class="stage">
  <div class="masked-text">MATTE</div>
  <div class="track-row"><div class="pattern"></div></div>
  <span class="cap">매트가 움직이면 보이는 영역도 따라 움직인다</span>
</div>
css
.stage{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6%}
.masked-text{font:900 clamp(26px,12vmin,78px)/1 sans-serif;letter-spacing:-.02em;
  background:repeating-linear-gradient(115deg,var(--accent) 0 16px,var(--accent-3) 16px 32px,var(--accent-2) 32px 48px);
  background-size:240% 240%;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:slide-pattern 3.5s linear infinite}
@keyframes slide-pattern{from{background-position:0% 0%}to{background-position:120% 45%}}
.track-row{position:relative;width:76%;height:16%;min-height:30px;border-radius:10px;overflow:hidden;background:var(--surface);border:1px solid var(--line)}
.pattern{position:absolute;inset:0;background:repeating-linear-gradient(45deg,var(--accent) 0 8px,var(--accent-3) 8px 16px);
  -webkit-mask-image:radial-gradient(circle 34px at center,#000 100%,transparent 100%);
  mask-image:radial-gradient(circle 34px at center,#000 100%,transparent 100%);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:80px 80px;mask-size:80px 80px;
  animation:track-move 3.5s ease-in-out infinite}
@keyframes track-move{0%,100%{-webkit-mask-position:0% center;mask-position:0% center}50%{-webkit-mask-position:100% center;mask-position:100% center}}
.cap{font:11px/1.3 sans-serif;color:var(--muted);text-align:center;max-width:80%}

Premiere Pro·After Effects 타임라인에서 매트로 쓸 레이어(보통 도형이나 텍스트)를 채울 레이어 바로 아래 놓고, Track Matte 옵션으로 둘을 연결한다. 밝은 부분만 보이게 하면 루마 매트, 투명도로 자르면 알파 매트다.

매트 레이어가 움직이거나 애니메이션되면 그 모양을 따라 보이는 영역도 같이 변한다 — 이게 "트랙(추적)"이라는 이름의 이유다. 한 번 자르고 끝나는 정적인 클리핑과 달리, 매트 자체가 연출의 일부가 된다.

매트 레이어와 채울 레이어의 프레임 속도·해상도가 다르면 경계가 지저분해진다. 내보내기 전에 반드시 한 번 렌더링 테스트를 해본다.

언제 쓰나

매트로 쓸 도형은 채울 레이어보다 항상 위에 있어야 하고, 두 레이어의 블렌딩 모드는 기본값(Normal)으로 둡니다.