- Interface
- Customizing your workspace
- Home screen
- Main toolbar
- Preferences
- Explorer
- Graph view
- Library
- Properties
- 2D view
- 3D view
- Dependency manager
- Resources
- Importing, linking and new resources
- Bitmap resource
- Vector graphics (SVG) resource
- 3D scene resource
- AxF (Appearance eXchange Format)
- Font resource
- Warnings from dependencies
- Substance graphs
- Substance graph key concepts
- Creating a Substance graph
- Instances and subgraphs
- Graph parameters
- Manage parameters
- 'Visible if' expressions
- Inheritance in Substance graphs
- Output size
- Values in Substance graphs
- Publishing Substance 3D asset files (SBSAR)
- Exporting bitmaps
- Exporting PSD files
- Sample Substance graphs
- Warnings in Substance graphs
- Substance function graphs
- What is a Substance function graph?
- Create and edit a Substance function
- The Substance function graph
- Variables
-
FX-maps
- FX-Maps
- How it works
- The Iterate node
- The Quadrant node
- Using Substance function graphs in FX-Maps
- Warnings in Substance function graphs
- Sample Substance function graphs
- Nodes reference for Substance function graphs
- Scripting
- Plugin basics
- Plugin search paths
- Plugins packages
- Plugin manager
- Python editor
- Accessing graphs and selections
- Nodes and properties
- Undo and redo
- Application callbacks
- Creating user interface elements
- Adding actions to the Explorer toolbar
- Using color management
- Using spot colors
- Logging
- Using threads
- Debugging plugins using Visual Studio Code
- Porting previous plugins
- Packaging plugins
- Scripting API reference
- Substance 3D home
- User guide
- Glossary
- Getting started
-
Interface
- Interface
- Customizing your workspace
- Home screen
- Main toolbar
- Preferences
- Explorer
- Graph view
- Library
- Properties
- 2D view
- 3D view
- Dependency manager
-
Resources
- Resources
- Importing, linking and new resources
- Bitmap resource
- Vector graphics (SVG) resource
- 3D scene resource
- AxF (Appearance eXchange Format)
- Font resource
- Warnings from dependencies
-
Substance function graphs
- Substance function graphs
- What is a Substance function graph?
- Create and edit a Substance function
- The Substance function graph
- Variables
-
FX-maps
- FX-Maps
- How it works
- The Iterate node
- The Quadrant node
- Using Substance function graphs in FX-Maps
- Warnings in Substance function graphs
- Sample Substance function graphs
- Nodes reference for Substance function graphs
- MDL graphs
- Bakers
- Best practices
- Pipeline and project configuration
- Color management
- Package metadata
-
Scripting
- Scripting
- Plugin basics
- Plugin search paths
- Plugins packages
- Plugin manager
- Python editor
- Accessing graphs and selections
- Nodes and properties
- Undo and redo
- Application callbacks
- Creating user interface elements
- Adding actions to the Explorer toolbar
- Using color management
- Using spot colors
- Logging
- Using threads
- Debugging plugins using Visual Studio Code
- Porting previous plugins
- Packaging plugins
- Scripting API reference
- Technical issues
- Release notes
In: Filters > Effects
Description
Draws a gradient or a flat color from the borders of a mask outward, inward or both.
Overlapping gradients are sorted by inverted normalized distance so that the distance to the closest border is drawn.
The distance of the gradient can be dynamically adjusted along the border using a distance map.
The Directional distance node offers similar capabilities, where the dilation is performed in a specific direction.
Mask input Grayscale PRIMARY |
The image from which the mask should be extracted.
All values above the 'Mask Threshold' value are white in that mask. |
Source input Grayscale |
An optional input only used when the 'Output Mode' parameter is set to 'Dilation'.
In that case, this image is overlaid on the white areas of the mask, and the grayscale values at the borders are dilated. |
Distance map Grayscale |
An optional input used when the value of the 'Distance Map Multiplier' parameter is higher than 0.
It is used to adjust the beveling/dilation distance along the borders of the mask, where a darker value results in a shorter distance. |
Output Grayscale |
The result image, according to the selected 'Output Mode'. |
UV Color |
A UV map where the UVs are dilated along the mask borders.
This can be connected to a UV Mapper node to map any other image using these dilated UVs. |
Output mode Integer |
The method of dilating the mask borders:
|
Direction Integer
Available when 'Output mode' is set to 'Bevel' or 'Dilation' |
The side of the mask border which should be dilated:
|
Maximum distance Float |
The distance of dilation, in normalized image space where 1 is the length of the shorter side of the input image. |
Mask smoothness Float |
The intensity of the smoothing applied to the mask.
The value is the radius of the blur, and 1 unit is 1/256th of the image. |
Mask offset Float |
Moves the mask borders inward or outward. |
Mask threshold Float |
The value used to detect the borders of the mask in the 'Mask Input' image.
Values above this threshold are the inside of the mask shapes, while values below are the outside. |
Scale Float2 |
Adjusts the horizontal (X) and vertical (Y) distance of the dilation.
These values are multipliers for the 'Maximum Distance' parameter value. |
Distance map multiplier Integer |
Adjusts the impact of the 'Distance Map' over the 'Maximum Distance'. |
Examples






