Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Distance Shading

Distance Shading

Updated: 4 Dec 2023

Shades particles based on their distance from a point.

image

Method #

This node shades particles based on their distance from a shape. The shape type is chosen using the Distance Mode parameter. Distance from the chosen shape is then calculated and a falloff function is used to produce a value that is used for shading. The distance calculation may be inverted so that the shading result is greater when further away from the shape.

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 Position x in local space
Position Y Position y in local space
Position Z Position z in local space
Rotation Heading Rotation around y axis in local space
Rotation Pitch Rotation around x axis in local space
Rotation Bank Rotation around z axis in local space
Scale X Scale along the x axis in local space
Scale Y Scale along the y axis in local space
Scale Z Scale along the z axis in local space

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
Distance Mode Choose what shape the particles are calculated to be a distance from.
  • Point : A point is used.
  • Line : A line is used.
  • Plane : A plane is used.
Radius Outer radius for which the particles will no longer be coloured.
Inner Radius Inner radius for which the particles will be coloured at their max.
Falloff Power How quickly the gradient changes from the inner radius to the outer radius.
Colour Change the colour of the particles as they spawn.
Invert Distance toggle whether the calculation is done for inside or outside the inner radius.
Blend Mode Choose how the particle colours blend to the source colours
Blend Amount Control how much the new shading affects the particles.

Inputs

NameDescriptionTypical Input
Position NodeOverrides the transform of the shape used to calculate the distance.Null
Affected EmittersChoose which particle emitters can be affected by the affector.Primitive Emitter
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
Local Transform OverrideApply the transforms of another node to this node, relative to its parent.Null