Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Gradient 2D

Gradient 2D

Updated: 25 Feb 2025

Generate a 2D gradient to input into other nodes.

image

Example .dfx

Method #

This node generates a 2D gradient. It is usually used as an input into other nodes, such as the Tilt Shift and Voronoi 2D nodes.

Parameters

These properties control the 3D transforms of the node. Transforms will generally be inherited by child nodes, although they can be ignored through the Inherit Transform Channels attributes.

ParameterDetails
Position X The objects position along the local x-axis.
Position Y The objects position along the local y-axis.
Position Z The objects position along the local z-axis.
Rotation Heading The objects rotation around the local y-axis.
Rotation Pitch The objects rotation around the local x-axis.
Rotation Bank The objects rotation around the local z-axis.
Scale X The objects scale along the local x-axis.
Scale Y The objects scale along the local y-axis.
Scale Z The objects scale along the local z-axis.

Control the inheritance of the transforms from the parent.

ParameterDetails
Position Toggle inheritance of the Position from the parent.
Rotation Toggle inheritance of the Rotation from the parent.
Scale Toggle inheritance of the Scale from the parent.
World Position Only Inherit the world position from the parent only, rotation and scale will be ignored. Overrides above properties.
Inherit Time Toggle inheritance of time from the parent.

These properties control the core behaviours of the node.

ParameterDetails
Mode Control how the gradient effect is built.
Apply Mode Control how the gradient effect is applied to the scene.
  • Background : The gradient is applied behind the image.
  • 3D Quad : The gradient is applied as a 2d plane in the scene.
  • Object Shading : The gradient is generated per pixel based on the depths / positions of rendered 3d objects - making the gradient appear to be mapped to 3d objects.
  • None : The gradient isn’t applied.
Visible Control whether the node is visible or not to the scene.
Transition Mode The method by which colours are transitioned.
  • Timeline - Switch : Switch colours by their key positions on the timeline.
  • Timed Fade : Fade between colours at a set rate.
Transition Time The fade time between colours.
Alpha Control the alpha value of the image.
Inner Range The inner distance for which colour 0 fills the space.
Outer Range The outer distance for which colour 1 fills the rest of the space..
Falloff Power Change how far the gradient reaches.
Colour 0 Colour to transition from.
Colour 1 Colour to transition to.

These properties control a distortion effect applied to the generated gradient.

ParameterDetails
Distortion Amount How much the the image distorts and moves horizontally.
Distortion Scale Scale the distortion along the x axis.

Inputs

NameDescriptionTypical Input
Colour RampUse a colour ramp to control the colour range of the post effect.Colour Ramp
Affected ObjectsChange which objects are affects by the post effect. By default, all objects are affected.3D Object
Transform ModifiersApply the transforms of another node to this node.Null
Target NodeModifiy the rotations of the node to always direct the z axis towards the input.Null