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.
Example |
---|
![Distance Shading]() |
Transform
Name |
Description |
---|
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 |
Inherit Transform Channels
Toggle which transform channels should be inherited. By default, all are on.
Attributes
Name |
Description |
---|
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 shader affects the particles. |
Inputs
Name |
Description |
Typical Node Input |
---|
Position Node |
Overrides the transform of the shape used to calculate the distance. |
Null |
Affected Emitters |
Choose which emitters can be affected by the affector. |
Primitive Emitter |
Transform Modifier |
Links all transform properties to the input node. |
Null |
Target Node |
Always faces the x-axis towards the inputs anchor point. |
Null |
Local Transform Override |
Override the transformation values of the node, relative to its parent. |
Null |
Outputs
The outputs section for this node is currently being worked on.