0.0.3

Light

Directional Light

Directional Light

ID

light-light-directional-light

Name

Directional Light

Group

Light

Package

Light

Keywords

directional
light
dir

Light

Creation method

There are two options for creating a Directional Light node.

  • The first way to create a Directional Light node is using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
    • directional, light
  • The second way is to select a Directional Light node from the menu that opens from the top left.
    • Menu > Tool > Light > Directional Light

Steps

  • Create a Directional Light node.
  • Connect the light color to the first port.
  • Connect the light intensity to the second port.
  • Connect the light position to the third port.
  • Connect the target position to the fourth port.
  • Connect the shadow toggle (castShadow) to the fifth port.

After creating the node, connect the light color to the first port, intensity to the second port, position to the third port, target to the fourth port, and shadow toggle to the fifth port. On the output port, you will receive the resulting directional light object.

See also

Ambient Light
Point Light
Spot Light

Inputs

NameTypeDescriptionDefault Value
color
Color
Color#ffffff
intensity
Number
Intensity1
position
Point
Position of the light
target
Point
Target point the light is aimed at
castShadow
Boolean
Enable or disable shadow casting

Outputs

NameTypeDescription
light
Light
Result Light