Method

This node shades particles based on scene lighting. The lighting calculation is an approximation based on the particle’s distance to the light and its facing direction, which is determined by either the particle’s normal if available or the orientation of the camera, giving a specular-like result. The Facing Direction Amount parameter controls the weighting of the facing direction effect so it can be blended out, leaving only the attenuation distance to generate the lighting effect.

Shadows cast between particles are not calculated by this node. To calculate shadows from particles use either the Volume Shadow Shading or Voxel Cone Shading nodes.

Example

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
Facing Direction Amount Weighting of the facing direction calculation as part of the lighting effect.
Facing Angle Range The angle range of the facing direction calculation: larger values produce a softer result.
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
Affecting Lights The light nodes used to calculate lighting on the particles. Light
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.