- 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 distance gradient from the borders of a mask in a specified direction.
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 Bevel smooth node offers similar capabilities, where the dilation is performed in all directions.
Input Grayscale PRIMARY |
The image from which the mask should be extracted.
All values above 0.5 are white in that mask. |
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. |
Angle map Grayscale |
An optional input used when the value of the 'Angle Map Multiplier' parameter is higher than 0.
It is used to adjust the direction of the distance gradient by adding its value to the direction angle, in number of turns.
The 'Angle Map Offset' parameter lets you remap the values by specifying which value is 0. |
Output Grayscale |
The result image according to the selected 'Output Mode'. |
UV Color |
A UV map where the UVs are dilated from the mask borders along the specified direction.
This can be connected to a UV Mapper node to map any other image using these dilated UVs. |
Output mode Integer |
The method of drawing the distance gradient from the mask borders:
|
Maximum distance Float |
The distance travelled by the distance gradient, in normalized image space where 1 is the length of the shorter side of the input image. |
Angle Float |
The direction of the distance gradient in number of turns, where 0 is horizontal and to the right – I.e., a (1,0) vector. |
Distance map multiplier Float |
Adjusts the impact of the 'Distance Map' over the 'Maximum Distance'.
Note: This parameter has no effect when the 'Distance Map' input is not connected. |
Angle map multiplier Float |
Adjusts the impact of the 'Angle Map' over the 'Angle'. |
Angle map offset Float |
Remaps the values in the 'Angle Map' by specifying which value in that map should be 0.
E.g., an offset of 0.5 means that a value of 0.75 is 0.25 turns, and a value of 0.3 is -0.2 turns. |
Examples




