This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
Hides the input graphics where the mask graphic is dark or transparent, showing them where it is white or opaque.
A mask applied before shadows and glows shapes them, and one applied after them hides them as well.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Content | The content to mask. Primary Input | Color[]ColorGenerator[]GeneratorGradient[]GradientGraphic[]GraphicRaster[]RasterString[]StringVector[]Vector |
| Mask | The graphics whose brightness or opacity shows the content, together as one. A gradient or image without its own placement stretches across the content. The mask moves with the content when it is transformed afterward. Exposed to the Graph by Default | Graphic[] |
| Mode | Whether the mask's luminance or its alpha shows the content. Default: | MaskMode[]MaskMode |
| Density | How fully the mask hides the content, so at 50% the parts it hides show at half strength. Default: | Number[]Number |
| Feather | How far the mask's edges are softened. Default: | Number[]Number |
| Invert | Shows the content where the mask would hide it, and hides it where the mask would show it. Default: | Bool[]Bool |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | GraphicGraphic[]VectorVector[]RasterRaster[]ColorColor[]GradientGradient[]StringString[]GeneratorGenerator[] |