What is it for?
- Remove only part of a cloth or flame shape
- Cut holes in an image with a mask
- Make a cutout from a mask with alpha
Overview
Cuts a hole in an image using mask alpha. It works in the opposite direction from
mask, which keeps opaque areas. Use it to remove material for effects such as frayed
cloth, damaged walls, or broken flame shapes.
Usage tips
- The go-to damage setup is a random mask from
noise_generate โ threshold, producing chipped or decayed variants that can be batch-produced by changing the seed. - Animating the amount removed creates burning-away or dissolving effects by driving threshold on the mask over time.
- Only alpha is reduced; RGB remains intact. Reapply
outlineafterward to outline the newly chipped edges as well.
How to think about it
- Opaque: erased
- Transparent: remains unchanged
- Semi-transparent: partially erased according to alpha
RGB color and brightness are not used. Black, white, and colored pixels erase by the same amount when their alpha is the same.
Turn invert on to reverse the behavior.
The primary purpose of this node, however, is always erasing.
Difference from Mask
Mask- Keeps opaque mask areas
Erase By Mask- Erases opaque mask areas
Use Mask when you want to keep an area.
Use Erase By Mask when you want to cut a hole.
Notes
- RGB remains unchanged; only alpha is reduced.
- Areas where mask alpha is
1.0disappear completely. - Areas where mask alpha is
0.5become half as opaque. - This node uses only mask alpha; it does not inspect RGB brightness or color.
invertis a lightweight way to fix a reversed mask. For the primary keep operation, useMask.
Examples
- Remove part of a cloth edge with a circular mask from
Shape Sweep. - Apply the result of
Mask Boolean(Subtract)to the final image. - Cut part of a face graphic with a separate shape.
- Apply a flowing cutout to an effect image.
Related nodes
maskโ the opposite direction; keeps opaque mask areasmask_booleanโ builds erasing shapes by combining masksnoise_generate+thresholdโ the go-to source for random erasing masksblend_by_maskโ replace with another image instead of erasing