Skip to content

Directional light

Used to define a light that gets emitted in a specific direction.

Mandatory children

  • Origin: Initial transformation frame respect to the component's frame of reference.

    • Var: smtk_transform
    • Var: Constant
    • Default: 0 0 0 0 0 0 1
    • Values info: x y z qx qy qz qw
  • Color: Light color (RGBA)

    • Var: smtk_rgba
    • Type: Input
    • Default: 1 1 1 1
  • Intensity: The intensity of the light.

    • Var: smtk_float
    • Type: Input
    • Default: 0.1
  • Cast shadow: If set to true light will cast dynamic shadows.

    • Var: smtk_bool
    • Type: Input
    • Default: false