Notch Notch Manual 0.9.23
 Light | Dark
Field Lighting

Field Lighting

Adds lighting and self shadowing to fields from light nodes.

image

image

Method #

This node adds lighting and self shadowing to fields based on input light nodes. It is used in conjunction with the Field Renderer node, which renders the field volume. Affecting lights need to be connected to Lights input of the Field Lighting node, and translucent shadows from the field it are applied on a per-voxel basis.

The node should be parented to a Field Root node.

This node is computationally heavy, and you might consider alternatively using the Field Shadows node which is computationally faster, but only supports lighting from a cardinal axis.

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 XMove along the local x-axis.
Position YMove along the local y-axis.
Position ZMove along the local z-axis.
Rotation HeadingRotate around the local y-axis.
Rotation PitchRotate around the local x-axis.
Rotation BankRotate around the local z-axis.
Scale XScale along the local x-axis.
Scale YScale along the local y-axis.
Scale ZScale along the local z-axis.

Toggle which transform channels should be inherited from the parent node. By default, all transforms will be inherited.

ParameterDetails
Position XToggle inheritance of the X Position from the parent.
Position YToggle inheritance of the Y Position from the parent.
Position ZToggle inheritance of the Z Position from the parent.
Rotation HeadingToggle inheritance of the Rotation Heading from the parent.
Rotation PitchToggle inheritance of the Rotation Pitch from the parent.
Rotation BankToggle inheritance of the Rotation Bank from the parent.
Scale XToggle inheritance of the X Scale from the parent.
Scale YToggle inheritance of the Y Scale from the parent.
Scale ZToggle inheritance of the Z Scale from the parent.
World Position OnlyInherit the world position from the parent only, rotation and scale will be ignored. Overrides above properties.
Inherit TimeToggle inheritance of time from the parent.

These properties control the core behaviours of the node.

ParameterDetails
Blend AmountControl the blend between the field lighting and the original field colours.
Blend ModeControl how the field blends with the field colours.
  • Replace : Replace the previous colours with the lighting from the field.
  • Linear Blend : Blend between the field lighting and the field colours.
  • Additive : Add the field lighting to the field colours.
  • Subtractive : Subtract the field lighting from the field colours.
  • Multiply : Multiply the field lighting with the field colours, darkening the values but maintaining the original colours.
Shadow DensityControl the density of field, and how much light will be allowed to filter through.

Inputs

NameDescriptionTypical Input
LightsConnect Lights that are used to affect the field render. This node will only function if a light is connected.Light
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