Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Mask Border creates Annoying White Lines

Community Beginner ,
Dec 05, 2019 Dec 05, 2019

Whenever I create a mask in After Effects, it generates a thin white line where my mask border occured in preview. It also shows up in the renders. This is at full size render. How do I remove this line? mask_error.jpg

TOPICS
How to
10.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Beginner , Dec 06, 2019 Dec 06, 2019

Solved it! 

The issue is that including the mask in the same layer as the difference matte was causing too many clashing calculations. The solution is to duplicate the layer that needs masking, apply difference matte to one and all other masks to the other. 
Layer it so that the difference matte is above the masks and using the Track Matte on the masking layer, apply it as an Alpha Matte. 

Translate
Community Beginner , May 09, 2024 May 09, 2024

It worked for me! Thank you!

Translate
Community Beginner ,
Dec 05, 2019 Dec 05, 2019

Seeing as I have a large sequence of images. Painting the problem is not a solution. If I recall correctly, it has something to do with premultiply mattes?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2019 Dec 05, 2019

Without anyy information about the actual source files nobody can tell you much, but from personal experience - and you're not going to like the answer - your files are not prepared correctly. The black likely isn't actually black but rather a very dark grey and thus not 100% transparent. Happens all the time when you're not careful in photoshop. So the answer to your problem probably is to go back to PS and correct the issue rather than anything wrong with AE.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2019 Dec 06, 2019

The source files are JPEGs which are just compressed from the RAW images. This attached image is a mask generated from a difference matte. Those white lines comes from further refining the mask generated by the difference matte. This is all created from 2 layers. The one screen capped below. And a clean plate. 

It's an aliasing error caused by premultiplication and I genuinely have no clue how to get rid of it as I'm trying to render out the mask image sequence. So these mask border lines are showing up in my image sequence renders. 

error.PNG

 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2019 Dec 05, 2019

Try adding the effect "Simple Choker," set to 1 pixel. Should clean this right up.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 06, 2022 May 06, 2022

This is the effect I was looking for. Thanks you!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2023 Nov 09, 2023

Thank you so much! This solved the issue I got about the faint border of the mask!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 09, 2024 May 09, 2024
LATEST

It worked for me! Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2019 Dec 06, 2019

Solved it! 

The issue is that including the mask in the same layer as the difference matte was causing too many clashing calculations. The solution is to duplicate the layer that needs masking, apply difference matte to one and all other masks to the other. 
Layer it so that the difference matte is above the masks and using the Track Matte on the masking layer, apply it as an Alpha Matte. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2021 May 10, 2021

Hi @tishurak56302587 ,
can you share your setting(screenshots) of your Composition Panel?
I have same issue with a vector mask.

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines