Skip to main content

Light

Parameter​

Light Type​

  • Type: Literal
  • Default: Point
    • Point: ordinary point light
    • Directional: used to simulate sunlight
    • Spot: cone-shaped light like that emitted by a flashlight

Range
Light Type = Point
​

  • Type: float
  • Default: 5

Spot Angle
Light Type = Spot
​

  • Type: float float
  • Default: 0 0

Color​

  • Type: float float float
  • Default: 1 1 1

Intensity​

  • Type: float
  • Default: 1

Enable Shadow​

  • Type: bool
  • Default: true
tip

Shadow calculation is expensive, so use it with caution.

Shadow Strength
Enable Shadow = true
​

  • Type: float
  • Default: 1