Jump to content

AP Live Filter Layer: Mask Layer vs. Clipped Child


Recommended Posts

I have a question about the difference between using a Live Filter layer as a clipped mask layer and a clipped child layer. When I add a Live Filter to an active Pixel Layer, it is created as a Mask Layer. But I can also create it as a clipped child layer with the mouse. The difference in the result surprises me. Can anyone explain the difference?

I have built an example with Box Blur to show the different results.

image.thumb.png.6f276125815d3f23cd8f934a93818584.png

 

Live Filter.afphoto

Link to comment
Share on other sites

Thank you, @lepr

I see. Now I also think, I understand better the difference between a Live Filter Layer and an Adjustment Layer, something that always puzzled me. A filter usually needs to inspect the neigborhood (more or less wider) of each pixel whereas an adjustment layer adjusts the pixels independently of their neigbors. Therefore it makes sense to apply Live Filter Layers as Mask Layer or as released standalone layer.  Clipping hinders the filter algorithm, one could even assume that in this case its result is undefined, maybe you are lucky and the effect is usable.

 

Link to comment
Share on other sites

36 minutes ago, Haffinity said:

Clipping hinders the filter algorithm, one could even assume that in this case its result is undefined, maybe you are lucky and the effect is usable.

No, clipping doesn't hinder the filter algorithm. As I said before, clipping restricts the visibility of the filter's result.

Link to comment
Share on other sites

The child layer position (masking/clipping) influences how colors and alpha values of the child layer get used.

  • in masking position:
    • alpha values will impact the full canvas, unrestricted
    • color values (e.g. RGB channels) are simply ignored. Only color values from lower layers incl. parent will be blended, but the alpha value impacts the blend results.
  • in clipping position
    • alpha values are clipped to the parent layer (where parent alpha is above 0)
    • color values are used (blended regularly), but again clipped to the parent layer nonzero alpha pixels.

this applies to all layer types (pixel, mask, adjustment, filter).

there are some exotic edge cases (stack use alpha as binary values), and groups (including Layer layers, symbols, compounds) are beasts on their own.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.