Notch Notch Manual 0.9.23
 Light | Dark
Density Shading

Density Shading

Shades particles by their density.

image

Method #

This node shades particles by the density of particles in a given area of space. More particles close together results in a brighter shading result. The node uses an internal bounding box to define the area of space that it considers, so you may need to add your own Bounding Box node to increase the area to sample. The area of space sampled per particle to determine density depends on a bounding area: it is segmented discretely, so a larger bounding box will cause a larger area per particle to be tested.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Density ScaleScales the density result before using it to calculate a shading value.
ColourThe colour to tint the particles with as density increases.
Blend ModeThe colour to tint the particles with.
  • Multiply : Multiplies the current new colour against the particle colour.
  • Add : Adds the new colour to the particle colour.
  • Subtract : Subtracts the new colour from the particle colour.
  • Blend : Blend between the new colour and the particle colour.
  • Scale Alpha : Scale the particle alpha based on its density.
Blend AmountControl how much the new shading affects the particles.

Inputs

NameDescriptionTypical Input
Bounds NodeThe bounding box of the space considered by the node.Bounding Box
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