Skip to content

Point light

Used to define a light that gets emitted from a single point in all directions.

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
  • Distance: Maximum range of the light.

  • Var: smtk_float
  • Type: Input
  • Default: 0

  • Decay: The amount the light dims along its distance.

  • Var: smtk_float
  • Type: Input
  • Default: 1