r/aescripts • • Oct 15 '26

Questions Torn Paper script: How to apply effect only to mask edges on PNGs with transparent backgrounds?

Post image

Hey everyone,

I just bought the Torn Paper script and I'm trying to figure out a workaround for PNGs with transparency.

When I apply the effect to a regular photo (with solid/flat rectangular edges), it works great with masks. However, when I apply it to a cut-out PNG element with a transparent background, the script automatically applies the torn edge effect along the entire perimeter of the cut-out shape.

What I want instead is for the effect to only apply along the edges created by my mask cuts, rather than the entire outer contour of the PNG.

Does anyone have a good trick or workflow to get this working? Thanks in advance!

5 Upvotes

6 comments sorted by

3

u/Lanky-Cucumber-2274 Oct 15 '26

Solution from author:

  1. Duplicate your PNG and precomp the duplicate with a solid background underneath it, so the precomp has no transparency. Keep its dimensions the same as the original PNG.
  2. Back in your main comp, use the original transparent PNG as an Alpha Matte for the precomp. Keep both layers lined up.
  3. Apply Torn Paper to the precomp layer and draw your mask cuts on that layer.

1

u/Lanky-Cucumber-2274 Oct 15 '26

That’s the issue. Script doesn’t respect transparency even if it’s precomposed.
I also tried to matte png, and add an empty adjustment layer. Sadly nothing helped.

I am waiting for response from the author of script.

1

u/aescripts aescripts | Staff Member Oct 15 '26

Developers do not monitor these forums, please report this issue directly by opening a support ticket here: https://aescripts.com/contact/

1

u/Regular_Elevator_175 3d ago

Hey I Wrote the developer as well
I tried it and it did work for me after playing with it

here are the steps with what he wrote to me:
What you’re seeing is a current limitation in how the plugin is designed. Track Mattes and precomps can fix this, but only if they’re set up in a particular way so the plugin never sees the transparency:

  1. Duplicate your image layer and precompose the duplicate. Inside that precomp, add a solid underneath the image so the precomp has no transparency at all. Keep the precomp the same size as the original image.
  2. Use the original as the matte. Back in your main comp, put the original transparent image directly above the precomp and set the precomp’s Track Matte to Alpha Matte, using the original image. Keep both layers lined up.
  3. Apply Torn Paper to the precomp. Add the effect and draw your entrance-animation masks on the precomp layer.

If you move or scale the image, parent the matte layer to the precomp so the two stay locked together. Give that a try and let me know how it goes. If it still isn’t working, a screenshot of your layer stack would help me track it down. 

1

u/Russ_Abbot Oct 15 '26

Precomp the png then apply your masks on that? Then torn paper can't see the transparency

1

u/leftonredd33 Oct 16 '26

Ran into the same issue, and gave up. This should be the first or second thing the plugin is supposed to take into account, or it shouldn't be released. Who's only animating rectangular images?