Common Attributes (Filters)
Intro
The following attributes are used on several Filters.
UI
- Filter
- Masks
Blend Mode - Set the blend mode for the Filter. Note that, where multiple Filters are connected to a Shape, this blend mode affects how Filters blend with each other and not how Shapes blend with other Shapes in the Viewport — use the Blend Mode under a Shape's Shape tab to affect that.
Opacity - Reduce/increase the effect of the Filter.
Sample/Greyscale/Sort Mode - Determine how the Shader is sampled:
- Luma (Gamma Corrected) - Sample the gamma corrected average brightness values.
- Average - Sample the average brightness values. This is a fast calculation.
- Saturation - Sample the saturation values.
- Value - Use the brightest of the R, G or B values and apply its value to the lower two. For example, if the red channel has a value of 0.8 and that value is higher than the blue and green channels, then set the blue and green to 0.8 too.
- Red Channel - Sample the values held in the red channel.
- Blue Channel - Sample the values held in the blue channel.
- Green Channel - Sample the values held in the green channel.
Tile Mode - Determine what happens at the borders of the mask:
- Clamp - Use the first and last values of the image.
- Repeat - Repeat/loop the image.
- Decal - Cut out the image.
Masks - A list of Shapes used as mattes for the Filter.
Settings for each mask can be accessed via the icon on the mask's row.
Mask Shape - The input connection from the Shape.
Enabled - Enable/disable the mask.
Mode - Determine how the Shape's luminance or alpha is used:
- Luminance - Use the luminance of the Shape where white pixels will remove the filter entirely and black pixels will have no effect.
- Luminance Inverted - The inverse of the above.
- Alpha - Use the opacity of the Shape where opaque pixels will remove the filter entirely and transparent pixels will have no effect.
- Alpha Inverted - The inverse of the above.
Blend Mode - Choose a Blend Mode for the mask.
Opacity - Reducing this value will reduce the effect of the mask.
Feather - Soften the edges of a mask.