Skip to content

Point light

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

pointlight in the component editor

Mandatory children

  • Distance: Maximum range of the light in meters. Default is 0 (no limit).

    • Var: smtk_float
    • Type: Input
    • Default: 0
  • Decay: The amount the light dims along its distance, the default value of 2 gives a realistic effect. It's recommended to leave this as is.

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